Skip to content

Commit

Permalink
igr-runner: Make sure "Failed" line ends with a newline
Browse files Browse the repository at this point in the history
To avoid such case:
...
Test run finished.
Passed: 26
Failed: 0make[2]: Leaving directory '/__w/dinit/dinit/src/igr-tests'
make[1]: Leaving directory '/__w/dinit/dinit/src'
...

Signed-off-by: Mobin Aydinfar <[email protected]>
  • Loading branch information
mobin-2008 authored and davmac314 committed Jul 13, 2024
1 parent 3639620 commit f751963
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/igr-tests/igr-runner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ int main(int argc, char **argv)
std::cout << " XXX";
}

std::cout << std::endl;

return failed == 0 ? 0 : 1;
}

Expand Down

0 comments on commit f751963

Please sign in to comment.