diff options
author | Steven Knight <knight@baldmt.com> | 2002-04-16 03:24:39 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-04-16 03:24:39 (GMT) |
commit | bbdad76b308f2bc3a38da616ab8333e469c558c6 (patch) | |
tree | 65167c0d078ee5691a5db404ede041b16387d021 /test/SHCXXFLAGS.py | |
parent | 1697d4399e8342fd3d2dbe02a67e03b4d2f835f0 (diff) | |
download | SCons-bbdad76b308f2bc3a38da616ab8333e469c558c6.zip SCons-bbdad76b308f2bc3a38da616ab8333e469c558c6.tar.gz SCons-bbdad76b308f2bc3a38da616ab8333e469c558c6.tar.bz2 |
Shared library test fixes. (Charles Crain)
Diffstat (limited to 'test/SHCXXFLAGS.py')
-rw-r--r-- | test/SHCXXFLAGS.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/SHCXXFLAGS.py b/test/SHCXXFLAGS.py index af980fe..5623795 100644 --- a/test/SHCXXFLAGS.py +++ b/test/SHCXXFLAGS.py @@ -42,13 +42,13 @@ test = TestSCons.TestSCons() test.write('SConstruct', """ foo = Environment(SHCXXFLAGS = '%s') bar = Environment(SHCXXFLAGS = '%s') -foo.Object(target = 'foo%s', source = 'prog.cc', shared = 1) -bar.Object(target = 'bar%s', source = 'prog.cc', shared = 1) +foo.Object(target = 'foo%s', source = 'prog.cpp', shared = 1) +bar.Object(target = 'bar%s', source = 'prog.cpp', shared = 1) foo.Program(target = 'foo', source = 'foo%s', shared = 1) bar.Program(target = 'bar', source = 'bar%s', shared = 1) """ % (fooflags, barflags, _obj, _obj, _obj, _obj)) -test.write('prog.cc', r""" +test.write('prog.cpp', r""" #include <stdio.h> #include <stdlib.h> int @@ -73,8 +73,8 @@ test.run(program = test.workpath('bar'), stdout = "prog.c: BAR\n") test.write('SConstruct', """ bar = Environment(SHCXXFLAGS = '%s') -bar.Object(target = 'foo%s', source = 'prog.cc', shared = 1) -bar.Object(target = 'bar%s', source = 'prog.cc', shared = 1) +bar.Object(target = 'foo%s', source = 'prog.cpp', shared = 1) +bar.Object(target = 'bar%s', source = 'prog.cpp', shared = 1) bar.Program(target = 'foo', source = 'foo%s', shared = 1) bar.Program(target = 'bar', source = 'bar%s', shared = 1) """ % (barflags, _obj, _obj, _obj, _obj)) |