summaryrefslogtreecommitdiffstats
path: root/test/SWIG
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-10-14 16:23:52 (GMT)
committerSteven Knight <knight@baldmt.com>2005-10-14 16:23:52 (GMT)
commitaf962864b108d8fdd654edaf3c0300404ca07e3e (patch)
tree3a6877e15644a6da25570af9ee7aade000983ad4 /test/SWIG
parent82c2f16e53cba1a639d568fe8d6780dfe30c56ab (diff)
downloadSCons-af962864b108d8fdd654edaf3c0300404ca07e3e.zip
SCons-af962864b108d8fdd654edaf3c0300404ca07e3e.tar.gz
SCons-af962864b108d8fdd654edaf3c0300404ca07e3e.tar.bz2
Get rid of indentation tabs in the test scripts and have runtest.py invoke them with the python -tt option to keep them out.
Diffstat (limited to 'test/SWIG')
-rw-r--r--test/SWIG/SWIG.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/SWIG/SWIG.py b/test/SWIG/SWIG.py
index 21a6a18..753d0b9 100644
--- a/test/SWIG/SWIG.py
+++ b/test/SWIG/SWIG.py
@@ -63,7 +63,7 @@ infile = open(args[0], 'rb')
outfile = open(out, 'wb')
for l in infile.readlines():
if l[:4] != 'swig':
- outfile.write(l)
+ outfile.write(l)
sys.exit(0)
""")
@@ -77,9 +77,9 @@ env.Copy(SWIGFLAGS = '-c++').Program(target = 'test3', source = 'test3.i')
test.write('test1.i', r"""
int
main(int argc, char *argv[]) {
- argv[argc++] = "--";
- printf("test1.i\n");
- exit (0);
+ argv[argc++] = "--";
+ printf("test1.i\n");
+ exit (0);
}
swig
""")
@@ -93,9 +93,9 @@ test.write('test3.i', r"""
#include <stdlib.h>
int
main(int argc, char *argv[]) {
- argv[argc++] = "--";
- printf("test3.i\n");
- exit (0);
+ argv[argc++] = "--";
+ printf("test3.i\n");
+ exit (0);
}
swig
""")