diff options
author | Steven Knight <knight@baldmt.com> | 2001-11-29 06:29:22 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2001-11-29 06:29:22 (GMT) |
commit | 94888b28d673f05360670ad3eeac836b5260e44a (patch) | |
tree | 3bffd52edc3e68463a13c59d24b975ed63a19641 /test/Object.py | |
parent | b88f3951d7ec14f464438d4bd6af6ee95b872888 (diff) | |
download | SCons-94888b28d673f05360670ad3eeac836b5260e44a.zip SCons-94888b28d673f05360670ad3eeac836b5260e44a.tar.gz SCons-94888b28d673f05360670ad3eeac836b5260e44a.tar.bz2 |
More NT portability in the tests.
Diffstat (limited to 'test/Object.py')
-rw-r--r-- | test/Object.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/Object.py b/test/Object.py index ebbdf0f..93a0b94 100644 --- a/test/Object.py +++ b/test/Object.py @@ -44,7 +44,7 @@ env.Program(target = 'prog2', source = [f1, f2, f3, 'prog.cpp']) env.Program(target = 'prog3', source = ['f1%s', f2, 'f3%s', 'prog.cpp']) """ % (_obj, _obj, _obj, _obj, _obj)) -test.write('f1.c', """ +test.write('f1.c', r""" void f1(void) { @@ -52,7 +52,7 @@ f1(void) } """) -test.write('f2.cpp', """ +test.write('f2.cpp', r""" #include <stdio.h> void @@ -62,7 +62,7 @@ f2(void) } """) -test.write('f3.c', """ +test.write('f3.c', r""" void f3(void) { @@ -70,7 +70,7 @@ f3(void) } """) -test.write('prog.cpp', """ +test.write('prog.cpp', r""" #include <stdio.h> extern "C" void f1(void); @@ -90,7 +90,7 @@ main(int argc, char *argv[]) stdout = "f1.c\nf2.c\nf3.c\nprog.c\n" -test.run(arguments = 'prog1 prog2 prog3') +test.run(arguments = '.') test.run(program = test.workpath('prog1'), stdout = stdout) |