| Index: test/test262/testcfg.py
|
| diff --git a/test/test262/testcfg.py b/test/test262/testcfg.py
|
| index f222e1e37d9e6e37369249d73f06c22d1db7c0d6..b5ad30949d8c3ae337128bfb17f47180fc34a8d0 100644
|
| --- a/test/test262/testcfg.py
|
| +++ b/test/test262/testcfg.py
|
| @@ -39,6 +39,8 @@ from testrunner.local import testsuite
|
| from testrunner.local import utils
|
| from testrunner.objects import testcase
|
|
|
| +ARCHIVE = os.path.join(os.path.dirname(os.path.abspath(__file__)), "data.tar")
|
| +
|
| TEST_262_HARNESS_FILES = ["sta.js", "assert.js"]
|
|
|
| TEST_262_SUITE_PATH = ["data", "test"]
|
| @@ -199,6 +201,11 @@ class Test262TestSuite(testsuite.TestSuite):
|
| for f in archive_files:
|
| os.remove(os.path.join(self.root, f))
|
|
|
| + print "Extracting archive..."
|
| + tar = tarfile.open(ARCHIVE)
|
| + tar.extractall(path=os.path.dirname(ARCHIVE))
|
| + tar.close()
|
| +
|
|
|
| def GetSuite(name, root):
|
| return Test262TestSuite(name, root)
|
|
|