diff options
author | Mats Wichmann <mats@linux.com> | 2018-08-17 15:04:31 (GMT) |
---|---|---|
committer | Mats Wichmann <mats@linux.com> | 2018-08-17 15:04:31 (GMT) |
commit | 8b47503f49fa423404cad0d95f070c1674dd8c5a (patch) | |
tree | ec22c1fa5681d7a1bc3026498ec9689807040e29 /test/SWIG/module-parens.py | |
parent | 52ecb92eb30698b67de2662a892e20be3f1fda20 (diff) | |
download | SCons-8b47503f49fa423404cad0d95f070c1674dd8c5a.zip SCons-8b47503f49fa423404cad0d95f070c1674dd8c5a.tar.gz SCons-8b47503f49fa423404cad0d95f070c1674dd8c5a.tar.bz2 |
get_platform_python_info fail on missing Python.h
evolved the get_platform_python_info test method to fail only
if a new flag python_h_required is True. Rolled back the
previous change to have the method return the path to the
Python.h, this was not really needed since the include
path is already returned.
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'test/SWIG/module-parens.py')
-rw-r--r-- | test/SWIG/module-parens.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SWIG/module-parens.py b/test/SWIG/module-parens.py index 040ef28..4ce7511 100644 --- a/test/SWIG/module-parens.py +++ b/test/SWIG/module-parens.py @@ -38,8 +38,8 @@ swig = test.where_is('swig') if not swig: test.skip_test('Can not find installed "swig", skipping test.\n') -python, python_include, python_libpath, python_lib, python_h = \ - test.get_platform_python_info() +python, python_include, python_libpath, python_lib = \ + test.get_platform_python_info(python_h_required=True) # swig-python expects specific filenames. # the platform specific suffix won't necessarily work. |