summaryrefslogtreecommitdiff
path: root/tools/packaging
diff options
context:
space:
mode:
authorsmikes <smikes@cubane.com>2014-07-18 01:15:07 -0600
committerSam Mikes <smikes@cubane.com>2014-07-18 08:53:29 +0100
commit7032af4db82a13635520dc552fb213171ada0c42 (patch)
tree6631d54ff25c987100b695f18803a00a7abc6d2a /tools/packaging
parent880a7e93164f159eeb2657657074488c78f4a302 (diff)
downloadqtdeclarative-testsuites-7032af4db82a13635520dc552fb213171ada0c42.tar.gz
packager: make packager runnable
packager.py cannot run due to syntax errors in a few script files packagerConfig: use git instead of hg test262: use pop instead of delete to avoid throw if property missing S22.1.2.1_T*: fix docString header comment: s/b /** S22.1.2.1_T3: fix docString header comment: s/b /**, fix end of docstring * / => */
Diffstat (limited to 'tools/packaging')
-rw-r--r--tools/packaging/packagerConfig.py2
-rwxr-xr-xtools/packaging/test262.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/packaging/packagerConfig.py b/tools/packaging/packagerConfig.py
index fddb27f61..16fe7dbc6 100644
--- a/tools/packaging/packagerConfig.py
+++ b/tools/packaging/packagerConfig.py
@@ -117,6 +117,6 @@ class SCAbstraction(object):
'''
Source control add of a file.
'''
- subprocess.call(["hg", "add", filename])
+ subprocess.call(["git", "add", filename])
SC_HELPER = SCAbstraction()
diff --git a/tools/packaging/test262.py b/tools/packaging/test262.py
index b2d439738..5afab6d0a 100755
--- a/tools/packaging/test262.py
+++ b/tools/packaging/test262.py
@@ -222,7 +222,7 @@ class TestCase(object):
self.test = testRecord["test"]
del testRecord["test"]
del testRecord["header"]
- del testRecord["commentary"]
+ testRecord.pop("commentary", None) # do not throw if missing
self.testRecord = testRecord;