summaryrefslogtreecommitdiffstats
path: root/test/ASFLAGS.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-09-08 03:54:23 (GMT)
committerSteven Knight <knight@baldmt.com>2002-09-08 03:54:23 (GMT)
commit44e01f6fed5a00994123ee5dd1d61b228eddeb27 (patch)
tree4d8110b7a16a075dbb862c6c1f48c7f49b584392 /test/ASFLAGS.py
parent2224745a3d883897640f5b9079054ec765ec2285 (diff)
downloadSCons-44e01f6fed5a00994123ee5dd1d61b228eddeb27.zip
SCons-44e01f6fed5a00994123ee5dd1d61b228eddeb27.tar.gz
SCons-44e01f6fed5a00994123ee5dd1d61b228eddeb27.tar.bz2
Fix test/ASFLAGS.py.
Diffstat (limited to 'test/ASFLAGS.py')
-rw-r--r--test/ASFLAGS.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/test/ASFLAGS.py b/test/ASFLAGS.py
index 5d644b3..2bfecf5 100644
--- a/test/ASFLAGS.py
+++ b/test/ASFLAGS.py
@@ -40,6 +40,8 @@ if sys.platform == 'win32':
o = ' -x'
+ o_c = ' -x'
+
test.write('mylink.py', r"""
import string
import sys
@@ -91,6 +93,8 @@ else:
o = ' -x'
+ o_c = ' -x -c'
+
test.write('mylink.py', r"""
import getopt
import sys
@@ -170,15 +174,15 @@ test.run(arguments = '.', stderr = None)
test.fail_test(test.read('test1' + _exe) != "%s\nThis is a .s file.\n" % o)
-test.fail_test(test.read('test2' + _exe) != "%s\nThis is a .S file.\n" % o)
+test.fail_test(test.read('test2' + _exe) != "%s\nThis is a .S file.\n" % o_c)
test.fail_test(test.read('test3' + _exe) != "%s\nThis is a .asm file.\n" % o)
test.fail_test(test.read('test4' + _exe) != "%s\nThis is a .ASM file.\n" % o)
-test.fail_test(test.read('test5' + _exe) != "%s\nThis is a .spp file.\n" % o)
+test.fail_test(test.read('test5' + _exe) != "%s\nThis is a .spp file.\n" % o_c)
-test.fail_test(test.read('test6' + _exe) != "%s\nThis is a .SPP file.\n" % o)
+test.fail_test(test.read('test6' + _exe) != "%s\nThis is a .SPP file.\n" % o_c)