summaryrefslogtreecommitdiff
path: root/project/config
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-21 03:27:43 -0500
committermidipix <writeonce@midipix.org>2018-12-21 22:23:49 -0500
commit6c889b705d2bba99dd29e09c000bd60966a0701c (patch)
treeab72323a45191d0fb90a7a8a89e874b92b66062a /project/config
parent147ce1c5e6c66bc17d3f160289980157ed6052a9 (diff)
downloadsbpython2-6c889b705d2bba99dd29e09c000bd60966a0701c.tar.bz2
sbpython2-6c889b705d2bba99dd29e09c000bd60966a0701c.tar.xz
project: custom config: wrap test sections with (set +e) / (set -e).
Diffstat (limited to 'project/config')
-rw-r--r--project/config/cfgdefs.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/project/config/cfgdefs.sh b/project/config/cfgdefs.sh
index f0bc0d7..ff48f02 100644
--- a/project/config/cfgdefs.sh
+++ b/project/config/cfgdefs.sh
@@ -313,11 +313,17 @@ cfgdefs_detect_python_version
# cfgdefs.in --> cfgdefs.mk
cfgdefs_output_custom_defs
+# strict: some tests might fail
+set +e
+
# target-specific tests
cfgdefs_perform_target_tests
# native system tests
cfgdefs_perform_native_tests
+# strict: restore mode
+set -e
+
# all done
return 0