summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-08-23 02:14:44 (GMT)
committerSteven Knight <knight@baldmt.com>2002-08-23 02:14:44 (GMT)
commit62446cb66567e967e1af2b6a0c152fdeb98508c8 (patch)
tree74ac1c6836dbf3b614aef7c1ce2a2c7b5291cee0 /test
parentd7079b4271cc358b515378e8b02bdf52637f3ee0 (diff)
downloadSCons-62446cb66567e967e1af2b6a0c152fdeb98508c8.zip
SCons-62446cb66567e967e1af2b6a0c152fdeb98508c8.tar.gz
SCons-62446cb66567e967e1af2b6a0c152fdeb98508c8.tar.bz2
Implement spawn() using os.system() on Posix OSes. (Anthony Roach)
Diffstat (limited to 'test')
-rw-r--r--test/DVIPDF.py3
-rw-r--r--test/DVIPDFFLAGS.py3
-rw-r--r--test/F77PATH.py6
3 files changed, 6 insertions, 6 deletions
diff --git a/test/DVIPDF.py b/test/DVIPDF.py
index d22cfd8..25856dc 100644
--- a/test/DVIPDF.py
+++ b/test/DVIPDF.py
@@ -100,8 +100,9 @@ test.fail_test(test.read('test2.pdf') != "This is a .tex test.\n")
dvipdf = test.where_is('dvipdf')
+tex = test.where_is('tex')
-if dvipdf:
+if dvipdf and tex:
test.write("wrapper.py", """import os
import string
diff --git a/test/DVIPDFFLAGS.py b/test/DVIPDFFLAGS.py
index e6f9146..9962253 100644
--- a/test/DVIPDFFLAGS.py
+++ b/test/DVIPDFFLAGS.py
@@ -106,8 +106,9 @@ test.fail_test(test.read('test2.pdf') != " -x\nThis is a .tex test.\n")
dvipdf = test.where_is('dvipdf')
+tex = test.where_is('tex')
-if dvipdf:
+if dvipdf and tex:
test.write("wrapper.py", """import os
import string
diff --git a/test/F77PATH.py b/test/F77PATH.py
index ad38bf1..3dcc280 100644
--- a/test/F77PATH.py
+++ b/test/F77PATH.py
@@ -42,10 +42,8 @@ args = prog + ' ' + subdir_prog + ' ' + variant_prog
test = TestSCons.TestSCons()
if not test.where_is('g77'):
- print "g77 is not installed on this system."
- print "Cannot test F77PATH."
- test.no_result(1)
-
+ test.pass_test()
+
test.subdir('include', 'subdir', ['subdir', 'include'], 'inc2')
test.write('SConstruct', """