Commit Graph

5 Commits

Author SHA1 Message Date
Zoltan Somogyi
a69fc36be0 Update some tests' programming style. 2020-10-05 17:53:05 +11:00
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
Julien Fischer
520f835b22 Replace deprecated mode and inst syntax in most
Estimated hours taken: 2
Branches: main

Replace deprecated mode and inst syntax in most
of the test suite.

TODO:
	Alter valid/mode_syntax.m when we start
	issuing warnings about the deprecated syntax.

tests/*/*.m:
	Replace deprecated mode and inst syntax.

	Replace some uses of `:' as the module
	qualifier.
2004-08-25 08:21:34 +00:00
Simon Taylor
f68441c80f Fix some errors in the function declarations found by
Estimated hours taken: 0.1

tests/hard_coded/ho_func_reg.m
	Fix some errors in the function declarations found by
	Fergus' recent changes to prog_io.m.
1997-07-24 01:02:16 +00:00
Tyson Dowd
1ca63fc055 Regression tests for 2 bugs.
Estimated hours taken: 3

Regression tests for 2 bugs.

Mmake:
	Add these two tests.

ho_func_reg.m:
ho_func_reg.exp:
	Check for correct creation of references to higher order
	function types with arity other than two.

float_reg.m:
float_reg.exp:
	Check for correct creation of floating point constants with
	a + in their exponent.
1997-01-08 01:40:33 +00:00