Force Clang and GCC to have the same behaviour.
* src/ltlvisit/remove_x.cc, src/ltltest/remove_x.test: here.
This commit is contained in:
parent
439517736f
commit
dc7ca7d8d2
2 changed files with 24 additions and 6 deletions
|
|
@ -38,3 +38,11 @@ run 0 ../../bin/ltlfilt --remove-x -f 'F(!a & Xb)' > out
|
|||
grep -v X out
|
||||
# The output is stutter invariant, even if the input wasn't.
|
||||
run 0 ../../bin/ltlfilt -q --stutter-invariant -F 'out'
|
||||
|
||||
# Ensure remove_x does not depend on clang or gcc recursive calls
|
||||
echo 'F(a & ((a & (a U (!a & b)) & ((!b U !a) | (b U !a))) |'\
|
||||
' (!a & (!a U (a & !a & b)) & ((!b U a) | (b U a))) | (b & (b U (!a & b & !b))'\
|
||||
' & ((!a U !b) | (a U !b))) | (!b & (!b U (!a & b)) & ((!a U b) | (a U b)))'\
|
||||
' | (!a & b & (G!a | Ga) & (G!b | Gb))))' > expected
|
||||
run 0 ../../bin/ltlfilt --remove-x -f 'F(a & X(!a & b))' > 'out'
|
||||
diff expected out
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue