summaryrefslogtreecommitdiffstats
path: root/test/BuildDir
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/BuildDir
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/BuildDir')
-rw-r--r--test/BuildDir/BuildDir.py30
-rw-r--r--test/BuildDir/removed-files.py4
2 files changed, 17 insertions, 17 deletions
diff --git a/test/BuildDir/BuildDir.py b/test/BuildDir/BuildDir.py
index 181d8aa..0bae185 100644
--- a/test/BuildDir/BuildDir.py
+++ b/test/BuildDir/BuildDir.py
@@ -134,9 +134,9 @@ test.write(['work1', 'src', 'f1.c'], r"""
int
main(int argc, char *argv[])
{
- argv[argc++] = "--";
- printf(F1_STR);
- exit (0);
+ argv[argc++] = "--";
+ printf(F1_STR);
+ exit (0);
}
""")
@@ -146,9 +146,9 @@ test.write(['work1', 'src', 'f2.in'], r"""
int
main(int argc, char *argv[])
{
- argv[argc++] = "--";
- printf(F2_STR);
- exit (0);
+ argv[argc++] = "--";
+ printf(F2_STR);
+ exit (0);
}
""")
@@ -158,9 +158,9 @@ test.write(['work1', 'src', 'f3.c'], r"""
int
main(int argc, char *argv[])
{
- argv[argc++] = "--";
- printf(F3_STR);
- exit (0);
+ argv[argc++] = "--";
+ printf(F3_STR);
+ exit (0);
}
""")
@@ -170,9 +170,9 @@ test.write(['work1', 'src', 'f4.in'], r"""
int
main(int argc, char *argv[])
{
- argv[argc++] = "--";
- printf(F4_STR);
- exit (0);
+ argv[argc++] = "--";
+ printf(F4_STR);
+ exit (0);
}
""")
@@ -328,9 +328,9 @@ test.write(['work2', 'prog.c'], r"""
int
main(int argc, char *argv[])
{
- argv[argc++] = "--";
- printf("work2/prog.c\n");
- exit (0);
+ argv[argc++] = "--";
+ printf("work2/prog.c\n");
+ exit (0);
}
""")
diff --git a/test/BuildDir/removed-files.py b/test/BuildDir/removed-files.py
index 7582a93..3f528a3 100644
--- a/test/BuildDir/removed-files.py
+++ b/test/BuildDir/removed-files.py
@@ -54,7 +54,7 @@ test.write(['src', 'dep.cpp'], """\
int main(int argc, char* argv[])
{
- return test_dep();
+ return test_dep();
}
""")
@@ -78,7 +78,7 @@ test.write(['src', 'dep.h'], """\
inline int test_dep()
{
- return 1;
+ return 1;
}
#endif //DEP_H