summaryrefslogtreecommitdiffstats
path: root/test/CXX/CXX.py
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)
commitc3d5ef3df00ebfb6c6cd33b4c906222517b2fdc1 (patch)
tree3a6877e15644a6da25570af9ee7aade000983ad4 /test/CXX/CXX.py
parent23cba392cd6b316d2e641948954b4e2f001de73b (diff)
downloadSCons-c3d5ef3df00ebfb6c6cd33b4c906222517b2fdc1.zip
SCons-c3d5ef3df00ebfb6c6cd33b4c906222517b2fdc1.tar.gz
SCons-c3d5ef3df00ebfb6c6cd33b4c906222517b2fdc1.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/CXX/CXX.py')
-rw-r--r--test/CXX/CXX.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/CXX/CXX.py b/test/CXX/CXX.py
index 6f9f0ce..70a9b82 100644
--- a/test/CXX/CXX.py
+++ b/test/CXX/CXX.py
@@ -52,7 +52,7 @@ infile = open(args[0], 'rb')
outfile = open(out, 'wb')
for l in infile.readlines():
if l[:8] != '/*link*/':
- outfile.write(l)
+ outfile.write(l)
sys.exit(0)
""")
@@ -72,7 +72,7 @@ infile = open(inf, 'rb')
outfile = open(out, 'wb')
for l in infile.readlines():
if l[:7] != '/*c++*/':
- outfile.write(l)
+ outfile.write(l)
sys.exit(0)
""")
@@ -88,7 +88,7 @@ infile = open(args[0], 'rb')
outfile = open(out, 'wb')
for l in infile.readlines():
if l[:8] != '/*link*/':
- outfile.write(l)
+ outfile.write(l)
sys.exit(0)
""")
@@ -102,7 +102,7 @@ infile = open(args[0], 'rb')
outfile = open(out, 'wb')
for l in infile.readlines():
if l[:7] != '/*c++*/':
- outfile.write(l)
+ outfile.write(l)
sys.exit(0)
""")
@@ -199,9 +199,9 @@ test.write('foo.cxx', r"""
int
main(int argc, char *argv[])
{
- argv[argc++] = "--";
- printf("foo.cxx\n");
- exit (0);
+ argv[argc++] = "--";
+ printf("foo.cxx\n");
+ exit (0);
}
""")
@@ -211,9 +211,9 @@ test.write('bar.cxx', r"""
int
main(int argc, char *argv[])
{
- argv[argc++] = "--";
- printf("foo.cxx\n");
- exit (0);
+ argv[argc++] = "--";
+ printf("foo.cxx\n");
+ exit (0);
}
""")