Files
mercury/tests/Mmakefile
Zoltan Somogyi c0b36b2333 Add the new tabling directory to the list of directories.
Estimated hours taken: 1

tests/Mmakefile:
	Add the new tabling directory to the list of directories.

tests/tabling/Mmakefile:
tests/tabling/runtests:
	The intrastructure of the new tests directory.

tests/tabling/fib.{m,exp}:
	A test of the memoing of a det procedure.

tests/tabling/tc_loop.{m,exp}:
	A test of loop checking for a nondet procedure.

tests/tabling/tc_minimal.{m,exp}:
	A test of minimal model tabling for a nondet procedure.
	(Doesn't work yet).

tests/tabling/boyer.{m,exp}:
	A benchmark program, translated to Mercury by Bart Demoen
	from an original in Prolog.
	(Doesn't work yet).
1998-08-14 06:27:11 +00:00

38 lines
897 B
Plaintext

SUBDIRS = benchmarks general hard_coded invalid misc_tests tabling term valid warnings
NUPROLOG_SUBDIRS = benchmarks general
main_target: check
# Generate the .exp files that are used as a basis of comparison to check
# the correctness of the code emitted by the Mercury compiler.
exp:
for dir in $(NUPROLOG_SUBDIRS); do \
(cd $$dir && mmake $(MMAKEFLAGS) exp) || exit 1; \
done
# run the tests
check:
for dir in $(SUBDIRS); do \
(cd $$dir && mmake $(MMAKEFLAGS) check) || exit 1; \
done
dep:
for dir in $(SUBDIRS); do \
(cd $$dir && mmake $(MMAKEFLAGS) dep) || exit 1; \
done
depend:
for dir in $(SUBDIRS); do \
(cd $$dir && mmake $(MMAKEFLAGS) depend) || exit 1; \
done
realclean:
for dir in $(SUBDIRS); do \
(cd $$dir && mmake $(MMAKEFLAGS) realclean) || exit 1; \
done
clean:
for dir in $(SUBDIRS); do \
(cd $$dir && mmake $(MMAKEFLAGS) clean) || exit 1; \
done