X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=test%2FObject.py;h=406c2c11839df0927a67742f91584fee5a72640d;hb=f27ed063be6a4703b3306a091ce7d5ed328eba98;hp=8b9c5e060b6d12b8c3e972d034c70c73fa1d6809;hpb=cc8c21c8607ccb567f4337257aa49f28de6b2034;p=scons.git diff --git a/test/Object.py b/test/Object.py index 8b9c5e06..406c2c11 100644 --- a/test/Object.py +++ b/test/Object.py @@ -46,6 +46,7 @@ env.Program(target = 'prog3', source = ['f1%s', f2, 'f3%s', 'prog.cpp']) """ % (_obj, _obj, _obj, _obj, _obj, _obj)) test.write('f1.c', r""" +#include void f1(void) { @@ -64,6 +65,7 @@ f2(void) """) test.write('f3.c', r""" +#include void f3(void) { @@ -72,6 +74,7 @@ f3(void) """) test.write('f4.c', r""" +#include void f4(void) { @@ -80,6 +83,7 @@ f4(void) """) test.write('f5.c', r""" +#include void f5(void) { @@ -96,7 +100,7 @@ extern "C" void f3(void); int main(int argc, char *argv[]) { - argv[argc++] = "--"; + argv[argc++] = (char *)"--"; f1(); f2(); f3(); @@ -116,3 +120,9 @@ test.run(program = test.workpath('prog2'), stdout = stdout) test.run(program = test.workpath('prog3'), stdout = stdout) test.pass_test() + +# Local Variables: +# tab-width:4 +# indent-tabs-mode:nil +# End: +# vim: set expandtab tabstop=4 shiftwidth=4: