summaryrefslogtreecommitdiffstats
path: root/package/python-serial/python-serial.hash
diff options
context:
space:
mode:
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2018-10-21 11:03:02 +0100
committerPeter Korsgaard <peter@korsgaard.com>2018-10-21 23:33:04 +0200
commit70994768824bcc0889f7081b147b3de4cc58642e (patch)
tree66b20ecf42e13c61f15be7f8d68a070029b13fde /package/python-serial/python-serial.hash
parent458ad4d7b6f542b3734088b5f5b0c96dce119851 (diff)
downloadbuildroot-70994768824bcc0889f7081b147b3de4cc58642e.tar.gz
buildroot-70994768824bcc0889f7081b147b3de4cc58642e.zip
Makefile: .gitlab-ci.yml: fail when listing tests fail
To update the .gitlab-ci.yml file, we run run-tests -l to list all the tests and post-process the output in a format suitable for .gitlab-ci.yml. However, in a pipeline, it is the last command that gives the return value. In addition, we have to redirect stderr of run-tests -l because nose2 prints the tests on stderr, not stdout. Thus, when run-tests -l fails, the update of .gitlab-ci.yml silently succeeds but no tests are included in the .gitlab-ci.yml. To fix this, set the pipefail option. This is bash-specific, but our Makefile ascertains that we are running with bash as the shell (if bash is available, but if it is not, dependencies.sh will error out). The error message is still invisible, but at least make will fail. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/python-serial/python-serial.hash')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud