summaryrefslogtreecommitdiffstats
path: root/test/SHF77.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-06-26 01:47:54 (GMT)
committerSteven Knight <knight@baldmt.com>2002-06-26 01:47:54 (GMT)
commit5dd473bc401492d93a372b03965f2718b05426b8 (patch)
treecef954000dc721951f583f9d1367610cb1a54823 /test/SHF77.py
parent651972979462ebc48aac362dd53119ef79291cf5 (diff)
downloadSCons-5dd473bc401492d93a372b03965f2718b05426b8.zip
SCons-5dd473bc401492d93a372b03965f2718b05426b8.tar.gz
SCons-5dd473bc401492d93a372b03965f2718b05426b8.tar.bz2
Win32 portability fixes for various tests.
Diffstat (limited to 'test/SHF77.py')
-rw-r--r--test/SHF77.py26
1 files changed, 1 insertions, 25 deletions
diff --git a/test/SHF77.py b/test/SHF77.py
index 86f1087..b0bde91 100644
--- a/test/SHF77.py
+++ b/test/SHF77.py
@@ -40,31 +40,7 @@ test = TestSCons.TestSCons()
-if sys.platform == 'win32':
-
- test.write('myg77.py', r"""
-import sys
-args = sys.argv[1:]
-inf = None
-while args:
- a = args[0]
- args = args[1:]
- if a[0] != '/':
- if not inf:
- inf = a
- continue
- if a[:3] == '/Fo': out = a[3:]
-infile = open(inf, 'rb')
-outfile = open(out, 'wb')
-for l in infile.readlines():
- if l[:4] != '#g77':
- outfile.write(l)
-sys.exit(0)
-""")
-
-else:
-
- test.write('myg77.py', r"""
+test.write('myg77.py', r"""
import getopt
import sys
opts, args = getopt.getopt(sys.argv[1:], 'cf:o:')