diff options
| author | Brent Cook <busterb@gmail.com> | 2021-05-21 02:35:20 -0500 |
|---|---|---|
| committer | Brent Cook <busterb@gmail.com> | 2021-05-21 02:35:20 -0500 |
| commit | 31dc716df31fea5412f3bdb53caab09dec0c2050 (patch) | |
| tree | 74ab77e73ffba3df2888705dcf7672fe016e034f /scripts | |
| parent | be44d2a83a62bd1a54d13de94a4a3c4465b4a72c (diff) | |
| parent | dcad94bbc08718774608360ce160e4593bd2fa56 (diff) | |
| download | portable-31dc716df31fea5412f3bdb53caab09dec0c2050.tar.gz portable-31dc716df31fea5412f3bdb53caab09dec0c2050.tar.bz2 portable-31dc716df31fea5412f3bdb53caab09dec0c2050.zip | |
Land #669, add new tests
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/travis_failure | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/scripts/travis_failure b/scripts/travis_failure new file mode 100755 index 0000000..93354fd --- /dev/null +++ b/scripts/travis_failure | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | CWD=`pwd` | ||
| 4 | |||
| 5 | testsdir=`ls -d libressl-*/_build/sub/tests` | ||
| 6 | if [ -d "$testsdir" ] ; then | ||
| 7 | echo "##### test logs in $testsdir" | ||
| 8 | cd $testsdir | ||
| 9 | for i in `ls *.trs` ; do | ||
| 10 | grep ':test-result: PASS' $i > /dev/null | ||
| 11 | if [ $? -eq 1 ] ; then | ||
| 12 | log=`echo $i | sed 's/\.trs$/\.log/'` | ||
| 13 | echo "***** $log" | ||
| 14 | cat $log | ||
| 15 | fi | ||
| 16 | done | ||
| 17 | cd $CWD | ||
| 18 | fi | ||
