From 6753e9b1ec12e51f9a8560ce35c0b432d93e5526 Mon Sep 17 00:00:00 2001 From: Felix Dallidet Date: Tue, 23 Jul 2019 16:37:08 +0200 Subject: [PATCH] Fixes #15280: Class_prefix and old_class_prefix tests need python3 which is not available on old OS --- tests/unit/testall | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/unit/testall b/tests/unit/testall index 08daa2dcc..7e9fdf72e 100755 --- a/tests/unit/testall +++ b/tests/unit/testall @@ -24,4 +24,6 @@ NCF_TREE=`cd "${OUR_DIR}" && pwd`/../../tree export PYTHONPATH=${NCF_TREE}/../tools/:$PYTHONPATH python test_ncf.py python test_ncf_rudder.py -python3 test_class_prefix.py +if command -v python3 > /dev/null; then + python3 test_class_prefix.py +fi