projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: sync tests/utils/tap with Babeltrace repository
[lttng-tools.git]
/
tests
/
utils
/
tap
/
tap.sh
diff --git
a/tests/utils/tap/tap.sh
b/tests/utils/tap/tap.sh
index 109cc8e4ce5bc4ebba3af6f8f9c669b2c26f8365..4b51106c013273aee268342734446f5c43f2aabe 100755
(executable)
--- a/
tests/utils/tap/tap.sh
+++ b/
tests/utils/tap/tap.sh
@@
-381,6
+381,11
@@
BAIL_OUT(){
_cleanup(){
local rc=0
_cleanup(){
local rc=0
+ if (( _plan_set == 0 )) ; then
+ diag "Looks like your test died before it could output anything."
+ return $rc
+ fi
+
if (( _test_died != 0 )) ; then
diag "Looks like your test died just after $_executed_tests."
return $rc
if (( _test_died != 0 )) ; then
diag "Looks like your test died just after $_executed_tests."
return $rc
This page took
0.024219 seconds
and
4
git commands to generate.