Skip to content

Commit

Permalink
runtests: fix skipping tests not done event-based
Browse files Browse the repository at this point in the history
... and call timestampskippedevents() to avoid the flood of
uninitialized variable warnings.

Closes #8977
  • Loading branch information
bagder committed Jun 8, 2022
1 parent 07058f6 commit f317b75
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions tests/runtests.pl
Expand Up @@ -4141,18 +4141,19 @@ sub singletest {
$DBGCURL=$CMDLINE;
}

if($fail_due_event_based) {
logmsg "This test cannot run event based\n";
timestampskippedevents($testnum);
return -1;
}

if($gdbthis) {
# gdb is incompatible with valgrind, so disable it when debugging
# Perhaps a better approach would be to run it under valgrind anyway
# with --db-attach=yes or --vgdb=yes.
$disablevalgrind=1;
}

if($fail_due_event_based) {
logmsg "This test cannot run event based\n";
return -1;
}

my @stdintest = getpart("client", "stdin");

if(@stdintest) {
Expand Down

0 comments on commit f317b75

Please sign in to comment.