summaryrefslogtreecommitdiff
path: root/scripts/Component.py
diff options
context:
space:
mode:
authorJoe George <joe@zeroc.com>2021-03-04 16:43:30 -0500
committerJoe George <joe@zeroc.com>2021-03-04 16:43:30 -0500
commit237b0e2c1ac9c594cf41763fb060576001649e47 (patch)
tree4d7e66b9a08f8b7eddc02a61a8a1fcf0739b365f /scripts/Component.py
parentMake fixes for c++98 dependencies (diff)
downloadice-237b0e2c1ac9c594cf41763fb060576001649e47.tar.bz2
ice-237b0e2c1ac9c594cf41763fb060576001649e47.tar.xz
ice-237b0e2c1ac9c594cf41763fb060576001649e47.zip
Skip C++11 service tests if not using cpp11 config
Diffstat (limited to 'scripts/Component.py')
-rw-r--r--scripts/Component.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/Component.py b/scripts/Component.py
index 11995d71e14..762ec6fcde9 100644
--- a/scripts/Component.py
+++ b/scripts/Component.py
@@ -146,9 +146,9 @@ class Ice(Component):
return False
# No C++98 tests for IceBridge, IceGrid, IceStorm and Glacier2
- if isinstance(mapping, CppMapping) and not current.config.cpp11:
- if parent in ["IceBridge", "IceGrid", "IceStorm", "Glacier2"]:
- return False
+ cpp11 = current.driver.configs[Mapping.getByName("cpp")].cpp11
+ if parent in ["IceBridge", "IceGrid", "IceStorm", "Glacier2"] and not cpp11:
+ return False
if current.config.xamarin and not current.config.uwp:
#