Skip to content
Snippets Groups Projects
Commit 66703f86 authored by erwan's avatar erwan
Browse files

test: now that by default simu are not bouded, bound the gm tests

parent 6c92f256
No related branches found
No related tags found
No related merge requests found
# Time-stamp: <modified the 29/01/2023 (at 16:21) by Erwan Jahier>
# Time-stamp: <modified the 27/02/2023 (at 16:05) by Erwan Jahier>
#
# Define some default rules that ought to work most of the time
#
......@@ -87,13 +87,13 @@ $(EXPDIR):
[ -d $(EXPDIR) ] || (mkdir -p $(EXPDIR) ; make utest)
%.gm_test: %.cmxs $(EXPDIR)
sasa $*.dot -seed 42 > $*.rif && \
sasa $*.dot -seed 42 -l 1000 > $*.rif && \
diff -I "# on" -I " version " -B -u -i -w $(EXPDIR)/$*.rif.exp $*.rif > $*.res
[ ! -s $*.res ] && echo "\n\n==> $*.gm_test went fine"
# update the reference
%.ugm_test: %.cmxs $(EXPDIR)
sasa $*.dot -seed 42 > $*.rif && \
sasa $*.dot -seed 42 -l 1000 > $*.rif && \
cp $*.rif $(EXPDIR)/$*.rif.exp
# fix the seed (used, e.g., in Makefile.dot) for the non-regression tests
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment