mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-19 03:13:40 +00:00
tests/Mmake.common:
Replace the -j1 in the runtests_local target used by all the test
directories with $(MAYBE_J1).
tests/*/Mmakefile:
Define MAYBE_J1 it as the empty string in test directories in which
different tests don't share source files.
Define MAYBE_J1 as -j1 in test directories in which
different tests do share source files.
tests/submodules/sub2_a.m:
Add this copy of sub_a.m to allow tests in the submodules directory
to be done in parallel.
tests/submodules/accessibility2.m:
Import sub2_a.m instead of sub_a.m.
tests/warnings/ambig_types_high_level.m:
Add this copy of ambig_types.m to allow tests in the warnings directory
to be done in parallel.
tests/warnings/ambig_high_level.m:
Import ambig_types_high_level.m instead of ambig_types.m.
34 lines
468 B
Mathematica
34 lines
468 B
Mathematica
%---------------------------------------------------------------------------%
|
|
% vim: ts=4 sw=4 et ft=mercury
|
|
%---------------------------------------------------------------------------%
|
|
|
|
:- module sub2_a.
|
|
|
|
:- interface.
|
|
|
|
:- type t1.
|
|
|
|
:- module sub1.
|
|
|
|
:- interface.
|
|
|
|
:- type t2.
|
|
|
|
:- end_module sub1.
|
|
|
|
:- implementation.
|
|
|
|
:- module sub1.
|
|
|
|
:- implementation.
|
|
|
|
:- import_module int.
|
|
|
|
:- type t2 == int.
|
|
|
|
:- end_module sub1.
|
|
|
|
:- import_module float.
|
|
|
|
:- type t1 == float.
|