* src/tgba/bddprint.cc (print_handler): Quote promises

when !want_prom.
* src/tgbaparse/tgbaparse.yy (prop_list): Accept strings or
identifiers.  Discard empty strings.
* src/tgbatest/mixprod.cc, src/tgbatest/mixprod.test: New file.
* src/tgbatest/Makefile.am (check_PROGRAMS): Add mixprod.
(mixprod_SOURCES): New variable.
(TESTS): Add mixprod.test.
This commit is contained in:
Alexandre Duret-Lutz 2003-06-18 12:02:36 +00:00
parent fd12c02345
commit bacd5a0ac2
7 changed files with 112 additions and 10 deletions

24
src/tgbatest/mixprod.test Executable file
View file

@ -0,0 +1,24 @@
#!/bin/sh
. ./defs
set -e
# We don't check the output, but just running this might be enough to
# trigger assertions or I/O errors.
cat >input1 <<EOF
s1, s3, a,;
s1, s2, b, p1;
s2, s1, !a,;
s2, s3, c,;
EOF
./mixprod 'F(a U b) & Xa' input1 >stdout
cat stdout
# Make sure we can read the produced output
./mixprod 'G!a' stdout
rm input1 stdout