Add exit code propagation to the integration tests 78/224278/2 accepted/tizen/unified/20200210.131809 submit/tizen/20200207.103010
authorMateusz Majewski <m.majewski2@samsung.com>
Fri, 7 Feb 2020 09:37:49 +0000 (10:37 +0100)
committerMichal Bloch <m.bloch@partner.samsung.com>
Fri, 7 Feb 2020 10:17:21 +0000 (10:17 +0000)
commitdb83fe0e9beddd356c302892606a2092e04c2fb5
treeb77afc4eced0fdbe603cb02d47da6dd7626120fc
parent319bbb2ee8ffa4e60728366bfdcc4bcdc5dd2599
Add exit code propagation to the integration tests

Now, if any of the tests fails, the dlog_test script will return a
nonzero error code. You can use this, for example, to execute
`dlog_test pipe && dlog_test logger`.

Note that, if you are using SDB, running `sdb shell dlog_test pipe` or a
similar command will NOT pass the exit code to the local shell. This is
because SDB always returns 0 as the exit code, no matter what was the
code of the underlying command; the nonzero exit codes are reserved for,
for example, connection failures.

Change-Id: I935ad63170ce7e02d27b496d1cf62f8c755bc3ab
tests/dlog_test.in