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/live.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/live.py')
-rw-r--r-- | test/SWIG/live.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SWIG/live.py b/test/SWIG/live.py index f0cf1d5..a64defe 100644 --- a/test/SWIG/live.py +++ b/test/SWIG/live.py @@ -46,8 +46,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 = swig.replace('\\','/') python = python.replace('\\','/') |