Commit Graph

3 Commits

Author SHA1 Message Date
Zoltan Somogyi
33eb3028f5 Clean up the tests in half the test directories.
tests/accumulator/*.m:
tests/analysis_*/*.m:
tests/benchmarks*/*.m:
tests/debugger*/*.{m,exp,inp}:
tests/declarative_debugger*/*.{m,exp,inp}:
tests/dppd*/*.m:
tests/exceptions*/*.m:
tests/general*/*.m:
tests/grade_subdirs*/*.m:
tests/hard_coded*/*.m:
    Make these tests use four-space indentation, and ensure that
    each module is imported on its own line. (I intend to use the latter
    to figure out which subdirectories' tests can be executed in parallel.)

    These changes usually move code to different lines. For the debugger tests,
    specify the new line numbers in .inp files and expect them in .exp files.
2015-02-14 20:14:03 +11:00
Peter Wang
0833261a54 Bring these modules up to date with respect to library changes.
Branches: main, 11.07

tests/hard_coded/big_array_from_list.m:
tests/hard_coded/hash_table_test.m:
tests/hard_coded/version_hash_table_test2.m:
tests/hard_coded/tree_bitset_tester.m:
	Bring these modules up to date with respect to library changes.

tests/hard_coded/Mmakefile:
tests/hard_coded/test_tree_bitset.exp:
tests/hard_coded/test_tree_bitset.m:
	Enable test_tree_bitset test case.

	Fix condition which prevented BIG_DATA_PROGS being tested.
2011-08-10 05:11:57 +00:00
Julien Fischer
e7b8fe54a7 Fix a bug reported by Michael Day.
Estimated hours taken: 8
Branches: main

Fix a bug reported by Michael Day.

compiler/ml_call_gen.m:
	Do not introduce assignment statements that perform casts to (un)box
	arguments of array types when the types of the LHS and RHS of such
	assignments would be the same.  This avoids situations where
	tail call optimisation cannot be applied to procedures with array
	arguments because the introduced assignments are added after the
	recursive call(s).

tests/hard_coded/.cvsignore:
tests/hard_coded/Mercury.options:
tests/hard_coded/Mmakefile:
tests/hard_coded/big_array_from_list.{m,exp}:
	Test case for the above bug.
2007-08-29 02:53:13 +00:00