From 44e01f6fed5a00994123ee5dd1d61b228eddeb27 Mon Sep 17 00:00:00 2001 From: Steven Knight Date: Sun, 8 Sep 2002 03:54:23 +0000 Subject: Fix test/ASFLAGS.py. --- test/ASFLAGS.py | 10 +++++++--- 1 file 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) -- cgit v0.12