summaryrefslogtreecommitdiffstats
path: root/src/test_setup.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-03-06 18:00:40 (GMT)
committerSteven Knight <knight@baldmt.com>2005-03-06 18:00:40 (GMT)
commitfedd7450e860f97d51e927dc958b14047da20651 (patch)
treee8d52a1a0b095da503f7f3366f0f1ca662016e17 /src/test_setup.py
parentabb351362b4075603f829b0dd9cc9aeedaa6f70b (diff)
downloadSCons-fedd7450e860f97d51e927dc958b14047da20651.zip
SCons-fedd7450e860f97d51e927dc958b14047da20651.tar.gz
SCons-fedd7450e860f97d51e927dc958b14047da20651.tar.bz2
Checkpoint refactorings to remove CommandGenerator and ToolSpec classes.
Diffstat (limited to 'src/test_setup.py')
-rw-r--r--src/test_setup.py8
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)