Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
87 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
/include/ | ||
/templates/ | ||
/configure/*.local | ||
/.tests-failed | ||
O.*/ | ||
/QtC-* | ||
*.orig | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/usr/bin/env perl | ||
#************************************************************************* | ||
# EPICS BASE is distributed subject to a Software License Agreement found | ||
# in the file LICENSE that is included with this distribution. | ||
#************************************************************************* | ||
|
||
# This file may appear trivial, but it exists to let the build system | ||
# fail the 'make test-results' target with a nice output including a | ||
# summary of the directories where test failures were reported. | ||
# Test results are collected from the .tap files fed to epicsProve.pl | ||
# which returns with an exit status of 0 (success) if all tests passed | ||
# or 1 (failure) if any of the .tap files contained failed tests. | ||
# When epicsProve.pl indicates a failure, the directory that it was | ||
# running in is appended to the file $(TOP)/.tests-failed which this | ||
# program reads in after all the test directories have been visited. | ||
# The exit status of this program is 1 (failure) if any tests failed, | ||
# otherwise 0 (success). | ||
|
||
use strict; | ||
use warnings; | ||
|
||
die "Usage: testFailures.pl .tests-failed\n" | ||
unless @ARGV == 1; | ||
|
||
open FAILURES, '<', shift or | ||
exit 0; | ||
my @failures = <FAILURES>; | ||
close FAILURES; | ||
|
||
print "\nTest failures were reported in:\n", | ||
(map {" $_"} @failures), "\n"; | ||
|
||
exit 1; |