GitHub PullRequestReviewCommentEvent at 2014-02-14 12:37:22
Repository: easybuild-framework
Actor: boegel
Payload: {"comment":{"url":"https://api.github.com/repos/hpcugent/easybuild-framework/pulls/comments/9746968","id":9746968,"diff_hunk":"@@ -218,9 +224,50 @@ def test_toy_build_with_blocks(self):\n         shutil.rmtree(tmpdir)\n         sys.path = orig_sys_path\n \n+    def xtest_toy_build_formatv2_sections(self):\n+        \"\"\"Perform a toy build (format v2, using sections).\"\"\"\n+        versions = {\n+            '0.0': {'versionprefix': '', 'versionsuffix': ''},\n+            '1.0': {'versionprefix': '', 'versionsuffix': ''},\n+            '1.1': {'versionprefix': 'stable-', 'versionsuffix': '-early'},\n+            '1.5': {'versionprefix': 'stable-', 'versionsuffix': '-early'},\n+            '1.6': {'versionprefix': 'stable-', 'versionsuffix': ''},\n+            '2.0': {'versionprefix': 'stable-', 'versionsuffix': ''},\n+            '3.0': {'versionprefix': 'stable-', 'versionsuffix': '-mature'},\n+        }\n+\n+        for version, specs in versions.items():\n+            args = [\n+                os.path.join(os.path.dirname(__file__), 'easyconfigs', 'v2.0', 'toy-with-sections.eb'),\n+                '--sourcepath=%s' % self.sourcepath,\n+                '--buildpath=%s' % self.buildpath,\n+                '--installpath=%s' % self.installpath,\n+                '--debug',\n+                '--unittest-file=%s' % self.logfile,\n+                '--force',\n+                '--robot=%s' % os.pathsep.join([self.buildpath, os.path.dirname(__file__)]),\n+                '--software-version=%s' % version,\n+                '--toolchain=dummy,dummy',\n+                '--experimental',\n+            ]\n+            try:\n+                main((args, self.dummylogfn, True))\n+            except SystemExit:\n+                pass\n+            # except Exception, err:\n+            #    print \"err: %s\" % err","path":"test/framework/toy_build.py","position":68,"original_position":68,"commit_id":"390c21e830b079aba65804303f0488511205ec97","original_commit_id":"390c21e830b079aba65804303f0488511205ec97","user":{"login":"boegel","id":620876,"avatar_url":"https://gravatar.com/avatar/93efe8c67147791f743923763ff6197d?d=https%3A%2F%2Fidenticons.github.com%2F424deccd27782ad35ea941ab2a0c04bc.png&r=x","gravatar_id":"93efe8c67147791f743923763ff6197d","url":"https://api.github.com/users/boegel","html_url":"https://github.com/boegel","followers_url":"https://api.github.com/users/boegel/followers","following_url":"https://api.github.com/users/boegel/following{/other_user}","gists_url":"https://api.github.com/users/boegel/gists{/gist_id}","starred_url":"https://api.github.com/users/boegel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boegel/subscriptions","organizations_url":"https://api.github.com/users/boegel/orgs","repos_url":"https://api.github.com/users/boegel/repos","events_url":"https://api.github.com/users/boegel/events{/privacy}","received_events_url":"https://api.github.com/users/boegel/received_events","type":"User","site_admin":false},"body":"leave this uncommented?","created_at":"2014-02-14T12:37:22Z","updated_at":"2014-02-14T12:37:22Z","html_url":"https://github.com/hpcugent/easybuild-framework/pull/844#discussion_r9746968","pull_request_url":"https://api.github.com/repos/hpcugent/easybuild-framework/pulls/844","_links":{"self":{"href":"https://api.github.com/repos/hpcugent/easybuild-framework/pulls/comments/9746968"},"html":{"href":"https://github.com/hpcugent/easybuild-framework/pull/844#discussion_r9746968"},"pull_request":{"href":"https://api.github.com/repos/hpcugent/easybuild-framework/pulls/844"}}}}