diff options
author | Steven Knight <knight@baldmt.com> | 2005-10-14 16:23:52 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2005-10-14 16:23:52 (GMT) |
commit | af962864b108d8fdd654edaf3c0300404ca07e3e (patch) | |
tree | 3a6877e15644a6da25570af9ee7aade000983ad4 /test/BuildDir | |
parent | 82c2f16e53cba1a639d568fe8d6780dfe30c56ab (diff) | |
download | SCons-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/BuildDir')
-rw-r--r-- | test/BuildDir/BuildDir.py | 30 | ||||
-rw-r--r-- | test/BuildDir/removed-files.py | 4 |
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 |