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/Default.py | |
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/Default.py')
-rw-r--r-- | test/Default.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Default.py b/test/Default.py index ae0346a..cda34b2 100644 --- a/test/Default.py +++ b/test/Default.py @@ -96,7 +96,7 @@ Default(env.B(target = 'bar.out', source = 'bar.in')) for dir in ['one', 'two', 'three', 'four', 'five']: - test.run(chdir = dir) # no arguments, use the Default + test.run(chdir = dir) # no arguments, use the Default test.fail_test(test.read(test.workpath('one', 'foo.out')) != "one/foo.in\n") test.fail_test(os.path.exists(test.workpath('one', 'bar'))) @@ -175,7 +175,7 @@ Default('xxx.out') test.write(['nine', 'sub1', 'xxx.in'], "sub1/xxx.in\n") -test.run(chdir = 'nine') # no arguments, use the Default +test.run(chdir = 'nine') # no arguments, use the Default test.fail_test(os.path.exists(test.workpath('nine', 'xxx.out'))) test.fail_test(test.read(test.workpath('nine', 'sub1', 'xxx.out')) != "sub1/xxx.in\n") @@ -202,7 +202,7 @@ env.B(target = 'xxx.out', source = 'xxx.in') test.write(['ten', 'sub2', 'xxx.in'], "sub2/xxx.in\n") -test.run(chdir = 'ten') # no arguments, use the Default +test.run(chdir = 'ten') # no arguments, use the Default test.fail_test(os.path.exists(test.workpath('ten', 'xxx.out'))) test.fail_test(test.read(test.workpath('ten', 'sub2', 'xxx.out')) != "sub2/xxx.in\n") @@ -222,7 +222,7 @@ test.write(os.path.join('eleven', 'foo.in'), "eleven/foo.in\n"); test.write(os.path.join('eleven', 'bar.in'), "eleven/bar.in\n"); -test.run(chdir = 'eleven') # no arguments, use the Default +test.run(chdir = 'eleven') # no arguments, use the Default test.fail_test(test.read(test.workpath('eleven', 'foo.out')) != "eleven/foo.in\n") test.fail_test(os.path.exists(test.workpath('eleven', 'bar'))) |