Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: show mismatch failures directly in terminal output #5644

Merged
merged 2 commits into from
Jul 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions tests/data/test1119
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,10 @@ Verify that symbols-in-versions and headers are in sync
</command>
</client>

<verify>
<stdout>
OK
</stdout>
</verify>

</testcase>
10 changes: 8 additions & 2 deletions tests/data/test1139
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,19 @@ documentation
none
</server>

<name>
<name>
Verify that all libcurl options have man pages
</name>
</name>

<command type="perl">
%SRCDIR/manpage-scan.pl %SRCDIR/.. %PWD/..
</command>
</client>

<verify>
<stderr>
0
</stderr>
</verify>

</testcase>
2 changes: 1 addition & 1 deletion tests/manpage-scan.pl
Original file line number Diff line number Diff line change
Expand Up @@ -288,4 +288,4 @@ sub scanmanpage {
}
}

exit $errors;
print STDERR "$errors\n";
3 changes: 3 additions & 0 deletions tests/symbol-scan.pl
Original file line number Diff line number Diff line change
Expand Up @@ -178,3 +178,6 @@ sub scanheader {
if($misses) {
exit 2; # there are stuff to attend to!
}
else {
print "OK\n";
}