diff options
author | Marco Poletti <poletti.marco@gmail.com> | 2017-06-17 18:35:08 +0100 |
---|---|---|
committer | Marco Poletti <poletti.marco@gmail.com> | 2017-06-17 18:35:08 +0100 |
commit | e30387171a7ad15dc4d05636a13ecacbf7f2bf6d (patch) | |
tree | 68bc176b809330289afc7747a921409339d207ea /tests/test_install.py | |
parent | 9c7dc58067e2ef6d6e0ae7960a9250799aa703d7 (diff) | |
download | google-fruit-e30387171a7ad15dc4d05636a13ecacbf7f2bf6d.tar.gz |
Fix syntax errors in the test_old_style_deprecation_error test, that were causing test failures on non-Valgrind test runs.
Diffstat (limited to 'tests/test_install.py')
-rwxr-xr-x | tests/test_install.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_install.py b/tests/test_install.py index 1cdbbed..d50d59e 100755 --- a/tests/test_install.py +++ b/tests/test_install.py @@ -75,10 +75,10 @@ def test_success_old_style(): expect_success(COMMON_DEFINITIONS, source, ignore_deprecation_warnings=True) @pytest.mark.skipif( - CXX_COMPILER_NAME == 'GNU' and CXX_COMPILER_VERSION.startswith('4.8') + CXX_COMPILER_NAME == 'GNU' and CXX_COMPILER_VERSION.startswith('4.8'), reason = 'This compiles successfully in GCC 4.8.x, the deprecation warning is ignored.') @pytest.mark.skipif( - or CMAKE_BUILD_TYPE is not None and CMAKE_BUILD_TYPE in ('Release', 'RelWithDebInfo'), + CMAKE_BUILD_TYPE is not None and CMAKE_BUILD_TYPE in ('Release', 'RelWithDebInfo'), reason = 'In release mode -Werror (/WX for Visual Studio) is not enabled, so the compilation in the test will generate a warning, not an error.') def test_old_style_deprecation_error(): source = ''' |