diff options
Diffstat (limited to 'test/CXX/SHCXXCOM.py')
-rw-r--r-- | test/CXX/SHCXXCOM.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/CXX/SHCXXCOM.py b/test/CXX/SHCXXCOM.py index 600049e..628bc00 100644 --- a/test/CXX/SHCXXCOM.py +++ b/test/CXX/SHCXXCOM.py @@ -49,10 +49,7 @@ for l in filter(lambda l: l[:7] != '/*c++*/', 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(SHCXXCOM = r'%(_python_)s mycc.py $TARGET $SOURCE', |