Files
mercury/tests/invalid_submodules/func_class.err_exp
Zoltan Somogyi bd7d7db57d Move nested-module programs from invalid to invalid_submodules.
This is to compile them with "mmake -j1", and thus avoid the intermittent
failures caused by interface files of nested submodules not being ready
when another job, executed in parallel by mmake, wants to read them.

tests/invalid_submodules/children.m:
tests/invalid_submodules/children2.m:
tests/invalid_submodules/duplicate_module.m:
tests/invalid_submodules/duplicate_module_test.err_exp:
tests/invalid_submodules/duplicate_module_test.m:
tests/invalid_submodules/exported_unify3.err_exp:
tests/invalid_submodules/exported_unify3.err_exp2:
tests/invalid_submodules/exported_unify3.m:
tests/invalid_submodules/func_class.err_exp:
tests/invalid_submodules/func_class.m:
tests/invalid_submodules/import_in_parent.err_exp:
tests/invalid_submodules/import_in_parent.m:
tests/invalid_submodules/missing_parent_import.err_exp:
tests/invalid_submodules/missing_parent_import.m:
tests/invalid_submodules/nested_impl_in_int.err_exp:
tests/invalid_submodules/nested_impl_in_int.m:
tests/invalid_submodules/sub_a.m:
tests/invalid_submodules/sub_c.err_exp:
tests/invalid_submodules/sub_c.m:
tests/invalid_submodules/undef_mod_qual.err_exp:
tests/invalid_submodules/undef_mod_qual.m:
tests/invalid_submodules/unresolved_overloading.err_exp:
tests/invalid_submodules/unresolved_overloading.m:
    Move these files, which contain the source code and expected outputs
    of the affected test cases, from the invalid directory to the new
    invalid_submodules directory.

tests/invalid/Mercury.options:
tests/invalid/Mmakefile:
    Delete any mentions of the moved test cases.

    Improve sh programming style in actions.

tests/invalid_submodules/Mercury.options:
tests/invalid_submodules/Mmakefile:
    List *only* the moved test cases. Specify the -j1 flag for mmake.

tests/Mmakefile:
tools/bootcheck:
    Mention the new test directory.

    Request that the list of test directories in these two places be kept
    in sync.

    Note that the feedback test directory is not yet ready.
2019-08-14 23:28:00 +10:00

19 lines
1.1 KiB
Plaintext

func_class.m:009: Error: nested submodule `func_class.func_class1' should be
func_class.m:009: preceded by either an `:- interface' or an
func_class.m:009: `:- implementation' declaration.
func_class.m:009: The following assumes that the missing declaration is an
func_class.m:009: `:- interface' declaration.
func_class.m:015: This implementation section for module
func_class.m:015: `func_class.func_class1' occurs in the interface section of
func_class.m:015: parent module `func_class'.
func_class.m:021: Error: nested submodule `func_class.func_class2' should be
func_class.m:021: preceded by either an `:- interface' or an
func_class.m:021: `:- implementation' declaration.
func_class.m:021: The following assumes that the missing declaration is an
func_class.m:021: `:- interface' declaration.
func_class.m:021: Submodule `func_class.func_class2' is missing its interface
func_class.m:021: section.
func_class.m:022: This implementation section for module
func_class.m:022: `func_class.func_class2' occurs in the interface section of
func_class.m:022: parent module `func_class'.