Browse Source

tv.txt contains errors from tv_gen

Steffen Jaeckel 8 years ago
parent
commit
9952fac68e
2 changed files with 2 additions and 1 deletions
  1. 1 0
      .travis.yml
  2. 1 1
      build.sh

+ 1 - 0
.travis.yml

@@ -125,6 +125,7 @@ env:
 after_failure:
 after_failure:
   - cat test_std.txt
   - cat test_std.txt
   - cat test_err.txt
   - cat test_err.txt
+  - cat tv.txt
 
 
 after_script:
 after_script:
   - cat gcc_1.txt
   - cat gcc_1.txt

+ 1 - 1
build.sh

@@ -26,7 +26,7 @@ fi
 echo -n "testing..."
 echo -n "testing..."
 
 
 if [ -a test ] && [ -f test ] && [ -x test ]; then
 if [ -a test ] && [ -f test ] && [ -x test ]; then
-   ((./test >test_std.txt 2>test_err.txt && ./tv_gen > tv.txt) && echo "$1 test passed." && echo "y" > testok.txt) || (echo "$1 test failed, look at test_err.txt" && exit 1)
+   ((./test >test_std.txt 2>test_err.txt && ./tv_gen > tv.txt) && echo "$1 test passed." && echo "y" > testok.txt) || (echo "$1 test failed, look at test_err.txt or tv.txt" && exit 1)
    if find *_tv.txt -type f 1>/dev/null 2>/dev/null ; then
    if find *_tv.txt -type f 1>/dev/null 2>/dev/null ; then
       for f in *_tv.txt; do
       for f in *_tv.txt; do
          # check for lines starting with '<' ($f might be a subset of notes/$f)
          # check for lines starting with '<' ($f might be a subset of notes/$f)