Commit Graph

5 Commits

Author SHA1 Message Date
Fergus Henderson
4554293812 Various fixes to the test cases so that they work with `__'
Estimated hours taken: 4

Various fixes to the test cases so that they work with `__'
as a module qualifier.

tests/general/commit_bug.m:
tests/general/mode_info_bug.m:
tests/general/partition.m:
tests/hard_coded/string_alignment.m:
	Delete `nl' predicate (and replace calls with calls to `io__nl')
	to avoid ambiguities with `io__nl'.

tests/general/partition.m:
	Rename `write' as `write_s'
	to avoid ambiguities with `io__write'.

tests/warnings/singleton_test.m:
tests/warnings/singleton_test.exp:
tests/warnings/pragma_source_code.m:
tests/warnings/pragma_source_code.exp:
	s/append/my_append/g
	to avoid ambiguities with `list__append'.

tests/general/parse_list.m:
tests/general/semidet_map.m:
	s/meta__/meta_/g
	to avoid errors about defining `meta__blah' in a module
	other than `meta'.

tests/hard_coded/qual_strang.m:
tests/hard_coded/qual_strung.m:
	s/string__//g
	to avoid errors about defining `string__blah' in a module
	other than `string'.

tests/valid/middle_rec_bug.m:
	s/garbage_out__/garbage_out_/g
	to avoid errors about defining `garbage_out__blah' in a module
	other than `garbage_out'.

tests/hard_coded/qual_basic_test.m:
tests/hard_coded/qual_adv_test.m:
	Eliminate double quantifiers, e.g. delete the `io__' in
	`io:io__write_string'.
	Also test calling `write_string' without `io:' or `io__'.
1997-02-23 06:11:35 +00:00
Zoltan Somogyi
ae2ab72716 Compare actual outputs with the outputs computed by NU-Prolog.
Estimated hours taken: 1

runtests:
	Compare actual outputs with the outputs computed by NU-Prolog.

Mmake:
	Enable the dnf test.

commit_bug.m:
	Use more readable formatting.

environment.m:
	Since the expected output may be generated on a different machine
	than the one on which the test is run, don't print the value of
	a possibly machine-specific environment variable such as PATH.

semidet_lambda.m:
	Fix the name of the module.

univ.m:
	Add a couple of tests to exercise the typeinfo comparison routine.

unreachable.m:
	Fix a comment.

*.exp:
	The expected output files.
1996-11-04 07:08:57 +00:00
Fergus Henderson
6e63f99536 Fix unique mode error (main/2 was `multi') by getting
Estimated hours taken: 0.5

tests/general/commit_bug.m:
	Fix unique mode error (main/2 was `multi') by getting
	all solutions using solutions/2.
1996-01-22 05:13:21 +00:00
Fergus Henderson
bc07fec168 Add some brief comments describing what each test case tests.
tests/general/*.m:
	Add some brief comments describing what each test case tests.
1995-08-17 05:32:34 +00:00
Thomas Conway
e78d86868d added commit_bug.
Mmake:
	added commit_bug.

commit_bug.m:
	The compiler contains test cases for committing across a
	nondet goal in a semidet context, but not for committting
	across a nondet goal in a nondet context. There was a bug
	in this, which this test case exercised.
1995-08-17 01:30:56 +00:00