diff options
author | David Fugate <dfugate@microsoft.com> | 2011-09-26 17:22:29 -0700 |
---|---|---|
committer | David Fugate <dfugate@microsoft.com> | 2011-09-26 17:22:29 -0700 |
commit | be82787a00f8b2de474e1bfb29d65d04af72255f (patch) | |
tree | 1acb1164cc571bfb134076e421209a32994f1363 /tools | |
parent | ffa85c258404e9808aa1595c1268593960f279d9 (diff) |
Do not include 'code' key in test object metadata.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/packaging/packager.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/packaging/packager.py b/tools/packaging/packager.py index 847995187..af30cf743 100644 --- a/tools/packaging/packager.py +++ b/tools/packaging/packager.py @@ -268,7 +268,9 @@ for chapter in TEST_SUITE_SECTIONS: with open(test262PathToConsoleFile(testDict["path"]), "w") as fConsole: fConsole.write(scriptCodeContent) with open(test262PathToConsoleFile(testDict["path"][:-3] + "_metadata.js"), "w") as fConsoleMeta: - fConsoleMeta.write("testDescrip = " + str(testDict)) + metaDict = testDict.copy() + del metaDict["code"] + fConsoleMeta.write("testDescrip = " + str(metaDict)) testCount += 1 else: print "Excluded:", testName |