* configure.ac: Output iface/gspn/defs.

* iface/gspn/Makefile.am (EXTRA_DIST): Add $(TESTS).
(TESTS, check_SCRIPTS, distclean-local): New.
* iface/gspn/dcswave.test, iface/gspn/simple.test,
iface/gspn/defs.in: New files.
* iface/gspn/dottygspn.cc (main): Take the list of properties
of interest in argument.
This commit is contained in:
Alexandre Duret-Lutz 2003-07-24 13:04:10 +00:00
parent 5e8cbcde7f
commit 664e49e07e
7 changed files with 125 additions and 5 deletions

View file

@ -5,10 +5,21 @@ int
main(int argc, char **argv)
try
{
spot::gspn_interface gspn(argc, argv);
spot::gspn_environment env;
env.declare("obs");
if (argc <= 2)
{
std::cerr << "usage: " << argv[0] << " model props..." << std::endl;
exit(1);
}
while (argc > 2)
{
env.declare(argv[argc - 1]);
--argc;
}
spot::gspn_interface gspn(2, argv);
spot::bdd_dict* dict = new spot::bdd_dict();