Avoid running "dot" when it is not installed...

* src/tgbatest/kv.test: Do not run dot if it is not installed.
* iface/nips/nipstest/dotty.test: Likewise
This commit is contained in:
Alexandre Duret-Lutz 2011-02-09 21:09:54 +01:00
parent dd13bfa07b
commit cb7b7d16f3
3 changed files with 12 additions and 4 deletions

View file

@ -1,5 +1,6 @@
#!/bin/sh
# Copyright (C) 2009, 2010 Laboratoire de Recherche et Development de l'EPITA.
# Copyright (C) 2009, 2010, 2011 Laboratoire de Recherche et
# Development de l'EPITA.
#
# This file is part of Spot, a model checking library.
#
@ -26,7 +27,7 @@ set -e
check ()
{
run 0 ../ltl2tgba -f -KV "$1" > out.dot
$DOT out.dot > /dev/null
"${DOT-:}" out.dot > /dev/null
rm -f out.dot
}