Skip to contentSkip to conversation

Errored: linux-test-project/ltp#616 (master - fecdd88)

LTP Travis CI 1 participant 1 message Jan 17, 2018 1 message not in the archive

lore
Share & tools
lore

Travis CI

author Acked-by Jan Stancek
#1 lore raw
In reply to a message not in the archive

Build Update for linux-test-project/ltp
-------------------------------------

Build: #616
Status: Errored

Duration: 16 minutes and 53 seconds
Commit: fecdd88 (master)
Author: Cyril Hrubis
Message: tst_test: Fix exit value on tst_brk(TCONF, ...)

We decided not to propagate TCONF into the test exit value in a case that the test had at least one TPASS in:

commit 5390d6ea36578c1fac8adc416b6f91aa4a330a08

Author: Cyril Hrubis <[email protected]>
Date:   Thu Sep 7 15:47:22 2017 +0200

lib/tst_test: Report 0 if test has both TPASS and TCONF

However this commit missed a case when TCONF is passed directly to the do_exit() function. This may happen in two cases actually, one of the is tst_brk(TCONF, ...) called from a test and second one is more subtle and happens when the last result in the run_tcases_per_fs() produces TCONF which is then propagated to the do_exit() function.

This commit simply masks the TCONF from the exit value in this cases if we happen to have non-zero success counter.

View the changeset: https://github.com/linux-test-project/ltp/compare/a2e789cac04b...fecdd885eb4b

View the full build log and details: https://travis-ci.org/linux-test-project/ltp/builds/329915294?utm_source=email&utm_medium=notification

--

You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20180117/c0b008af/attachment-0001.html>