ltlcross: report aborted HOA files
* src/bin/ltlcross.cc: Here. * src/tgbatest/ltlcross3.test: Add test case.
This commit is contained in:
parent
c12b2d63b3
commit
63abfed108
2 changed files with 20 additions and 0 deletions
|
|
@ -130,3 +130,13 @@ check_csv out.csv
|
|||
grep 'X a' bug.txt
|
||||
|
||||
test $q -eq `expr $p + 6`
|
||||
|
||||
|
||||
# Support for --ABORT-- in HOA.
|
||||
run 1 ../../bin/ltlcross 'echo HOA: --ABORT-- %f > %H' \
|
||||
-f a --csv=out.csv 2>stderr
|
||||
grep '"exit_status"' out.csv
|
||||
grep '"exit_code"' out.csv
|
||||
test `grep 'error:.*aborted' stderr | wc -l` -eq 2
|
||||
test `grep '"aborted",-1' out.csv | wc -l` -eq 2
|
||||
check_csv out.csv
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue