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/LEX | |
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/LEX')
-rw-r--r-- | test/LEX/LEX.py | 20 | ||||
-rw-r--r-- | test/LEX/LEXFLAGS.py | 12 |
2 files changed, 16 insertions, 16 deletions
diff --git a/test/LEX/LEX.py b/test/LEX/LEX.py index 3f596fb..5515a3e 100644 --- a/test/LEX/LEX.py +++ b/test/LEX/LEX.py @@ -58,10 +58,10 @@ test.write('aaa.l', r""" int main(int argc, char *argv[]) { - argv[argc++] = "--"; - printf("LEX\n"); - printf("aaa.l\n"); - exit (0); + argv[argc++] = "--"; + printf("LEX\n"); + printf("aaa.l\n"); + exit (0); } """) @@ -69,10 +69,10 @@ test.write('bbb.lex', r""" int main(int argc, char *argv[]) { - argv[argc++] = "--"; - printf("LEX\n"); - printf("bbb.lex\n"); - exit (0); + argv[argc++] = "--"; + printf("LEX\n"); + printf("bbb.lex\n"); + exit (0); } """) @@ -104,8 +104,8 @@ bar.Program(target = 'bar', source = 'bar.l') lex = r""" %%%% -a printf("A%sA"); -b printf("B%sB"); +a printf("A%sA"); +b printf("B%sB"); %%%% int yywrap() diff --git a/test/LEX/LEXFLAGS.py b/test/LEX/LEXFLAGS.py index ba440da..87a869f 100644 --- a/test/LEX/LEXFLAGS.py +++ b/test/LEX/LEXFLAGS.py @@ -60,10 +60,10 @@ test.write('aaa.l', r""" int main(int argc, char *argv[]) { - argv[argc++] = "--"; - printf("LEXFLAGS\n"); - printf("aaa.l\n"); - exit (0); + argv[argc++] = "--"; + printf("LEXFLAGS\n"); + printf("aaa.l\n"); + exit (0); } """) @@ -86,8 +86,8 @@ bar.Program(target = 'bar', source = 'bar.l') lex = r""" %%%% -a printf("A%sA"); -b printf("B%sB"); +a printf("A%sA"); +b printf("B%sB"); %%%% int yywrap() |