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/sconsign | |
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/sconsign')
-rw-r--r-- | test/sconsign/script.py | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/test/sconsign/script.py b/test/sconsign/script.py index 624c18b..86f6292 100644 --- a/test/sconsign/script.py +++ b/test/sconsign/script.py @@ -56,11 +56,11 @@ def re_sep(*args): class MyTestSCons(TestSCons.TestSCons): # subclass with a method for running the sconsign script def __init__(self, *args, **kw): - apply(TestSCons.TestSCons.__init__, (self,)+args, kw) - self.my_kw = { + apply(TestSCons.TestSCons.__init__, (self,)+args, kw) + self.my_kw = { 'interpreter' : TestSCons.python, - 'program' : sconsign, - } + 'program' : sconsign, + } def run_sconsign(self, *args, **kw): kw.update(self.my_kw) return apply(self.run, args, kw) @@ -85,9 +85,9 @@ test.write(['work1', 'sub1', 'hello.c'], r"""\ int main(int argc, char *argv[]) { - argv[argc++] = "--"; - printf("sub1/hello.c\n"); - exit (0); + argv[argc++] = "--"; + printf("sub1/hello.c\n"); + exit (0); } """) @@ -97,9 +97,9 @@ test.write(['work1', 'sub2', 'hello.c'], r"""\ int main(int argc, char *argv[]) { - argv[argc++] = "--"; - printf("sub2/goodbye.c\n"); - exit (0); + argv[argc++] = "--"; + printf("sub2/goodbye.c\n"); + exit (0); } """) @@ -277,9 +277,9 @@ test.write(['work2', 'sub1', 'hello.c'], r"""\ int main(int argc, char *argv[]) { - argv[argc++] = "--"; - printf("sub1/hello.c\n"); - exit (0); + argv[argc++] = "--"; + printf("sub1/hello.c\n"); + exit (0); } """) @@ -289,9 +289,9 @@ test.write(['work2', 'sub2', 'hello.c'], r"""\ int main(int argc, char *argv[]) { - argv[argc++] = "--"; - printf("sub2/goodbye.c\n"); - exit (0); + argv[argc++] = "--"; + printf("sub2/goodbye.c\n"); + exit (0); } """) |