diff options
Diffstat (limited to 'src/test_setup.py')
-rw-r--r-- | src/test_setup.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test_setup.py b/src/test_setup.py index ab5b651..73b6588 100644 --- a/src/test_setup.py +++ b/src/test_setup.py @@ -107,6 +107,10 @@ try: except KeyError: cwd = os.getcwd() +test = MyTestSCons() + +test.subdir(test.root) + tar_gz = os.path.join(cwd, 'build', 'dist', '%s.tar.gz' % scons_version) if not os.path.isfile(tar_gz): @@ -114,10 +118,6 @@ if not os.path.isfile(tar_gz): print "Cannot test package installation." test.no_result(1) -test = MyTestSCons() - -test.subdir(test.root) - # Unpack the .tar.gz file. This should create the scons_version/ # subdirectory from which we execute the setup.py script therein. os.system("gunzip -c %s | tar xf -" % tar_gz) |