autcross: exercise %S, %L, and {name{nest}}

* tests/core/autcross.test, tests/core/autcross2.test: More tests.
This commit is contained in:
Alexandre Duret-Lutz 2018-05-21 15:17:18 +02:00
parent 3334a6a679
commit 6e8af75ee9
2 changed files with 11 additions and 7 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh
# -*- coding: utf-8 -*-
# Copyright (C) 2017 Laboratoire de Recherche et Développement de
# Copyright (C) 2017, 2018 Laboratoire de Recherche et Développement de
# l'Epita (LRDE).
#
# This file is part of Spot, a model checking library.
@ -21,8 +21,9 @@
. ./defs
set -e
# Exercise %L while we are at it.
randaut -n10 2 | tee input |
autcross --language-preserve 'autfilt' 'autfilt --complement' \
autcross --language-preserve 'autfilt %L>%O' 'autfilt --complement' \
--save-bogus=bogus.hoa 2>stderr && exit 1
cat stderr
# We should have 4 counterexample per input automaton