diff options
Diffstat (limited to 'test/CXX/CXXCOMSTR.py')
-rw-r--r-- | test/CXX/CXXCOMSTR.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/CXX/CXXCOMSTR.py b/test/CXX/CXXCOMSTR.py index 23bd3e6..df4a87b 100644 --- a/test/CXX/CXXCOMSTR.py +++ b/test/CXX/CXXCOMSTR.py @@ -50,10 +50,7 @@ for l in filter(lambda l: l != '/*c++*/\n', infile.readlines()): sys.exit(0) """) -if os.path.normcase('.c') == os.path.normcase('.C'): - alt_cpp_suffix = '.cpp' -else: - alt_cpp_suffix = '.C' +alt_cpp_suffix=test.get_alt_cpp_suffix() test.write('SConstruct', """ env = Environment(CXXCOM = r'%(_python_)s mycc.py $TARGET $SOURCE', |