[m-dev.] diff: fix tests in hard_coded for MSVC

Simon Taylor stayl at cs.mu.OZ.AU
Wed Feb 14 09:19:06 AEDT 2001


On Tue, Feb 13, 2001 at 04:58:17PM +0100, Peter Ross wrote:
> Estimated hours taken: 8
> 
> Adapt the tests in the hard_coded directory so that the version of the
> Mercury compiler built with MSVC passes them in the hlc.gc grade.
 
> tests/hard_coded/Mmakefile:
>     Remove test_bitset and add bitset.
> 
> tests/hard_coded/bitset.exp:
> tests/hard_coded/bitset.m:
> tests/hard_coded/bitset_tester.m:
> tests/hard_coded/test_bitset.exp:
> tests/hard_coded/test_bitset.m:
>     Move this test into one test case because mmake falls over with
>     unable to make `std_util.m^M', plus there is no reason to have this
>     case spread over two files.
> 
> tests/hard_coded/exceptions/test_exceptions_func.m:
>     Remove the uneeded import of std_util, this avoids the
>     `std_util.m^M' problem mentioned in the previous test case.

Any idea what's causing this problem?

The reason for having test_bitset.m and bitset_tester.m as separate
files is that it is useful to be able to use bitset_tester.m as a
replacement for sparse_bitset.m to debug problems in sparse_bitset.m.

Simon.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list