summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ros/resource_retriever/resource_retriever-1.12.6.ebuild')
-rw-r--r--dev-ros/resource_retriever/resource_retriever-1.12.6.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-ros/resource_retriever/resource_retriever-1.12.6.ebuild b/dev-ros/resource_retriever/resource_retriever-1.12.6.ebuild
index 27d60028ac02..4a7691efbe1e 100644
--- a/dev-ros/resource_retriever/resource_retriever-1.12.6.ebuild
+++ b/dev-ros/resource_retriever/resource_retriever-1.12.6.ebuild
@@ -23,5 +23,10 @@ DEPEND="${RDEPEND}
src_test() {
export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ if has network-sandbox ${FEATURES}; then
+ einfo "Skipping network tests due to network sandbox"
+ export GTEST_FILTER='-Retriever.http'
+ export NOSE_TESTMATCH='^(?!test_http).*'
+ fi
ros-catkin_src_test
}