From: Michał Kępień Date: Tue, 15 Oct 2019 14:38:04 +0000 (+0200) Subject: Work around an OpenBSD "make" quirk X-Git-Tag: v9.15.6~61^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b5426e1a7e19e4e39848a362c3dce80b40243b9;p=thirdparty%2Fbind9.git Work around an OpenBSD "make" quirk Consider the following Makefile: foo: false On OpenBSD, the following happens for this Makefile: - "make foo" returns 1, - "make -k foo" returns 0, - "make -k -j6 foo" returns 1. However, if the .NOTPARALLEL pseudo-target is added to this Makefile, "make -k -j6 foo" will return 0 as well. Since bin/tests/Makefile contains the .NOTPARALLEL pseudo-target, running "make -k -j6 test" from bin/tests/ on OpenBSD prevents any errors from being reported through that command's exit code. Work around the issue by running "make -k -j6 test" in the bin/tests/system/ directory instead as bin/tests/system/Makefile does not contain the .NOTPARALLEL pseudo-target and thus things work as expected there. --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bc49880eb0c..e5120c5e9bb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -193,7 +193,7 @@ stages: - *setup_interfaces - *setup_softhsm script: - - ( cd bin/tests && make -j${TEST_PARALLEL_JOBS:-1} -k test V=1 ) + - ( cd bin/tests/system && make -j${TEST_PARALLEL_JOBS:-1} -k test V=1 ) - test -s bin/tests/system/systests.output artifacts: untracked: true