mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-18 10:53:40 +00:00
tests/invalid_onlydepend:
Move the one test case in tests/invalid for which we want to check
the error messages generated during the generation of dependencies
to this new test directory.
tests/invalid_nodepend:
Move all test cases in tests/invalid which get errors during the
generation of dependencies but for which we want to check the error
messages generated during normal compilation to this new test directory.
tests/invalid_nodepend/Mmakefile:
tests/invalid_nodepend/Mercury.options:
tests/invalid_onlydepend/Mmakefile:
tests/invalid_onlydepend/Mercury.options:
Versions of the same files in tests/invalid, but containing only
the entries relevant to the moved test cases.
tests/invalid/Mmakefile:
tests/invalid/Mercury.options:
Delete the entries that refer to the moved test cases.
tests/README:
Document the two new test directories.
tools/bootcheck:
Add invalid_onlydepend and invalid_nodepend to the list of
test directories.
36 lines
2.0 KiB
Plaintext
36 lines
2.0 KiB
Plaintext
bad_foreign_code.m:017: Error: a `:- pragma foreign_code' declaration must have
|
|
bad_foreign_code.m:017: exactly two arguments.
|
|
bad_foreign_code.m:021: Error: a `:- pragma foreign_code' declaration must have
|
|
bad_foreign_code.m:021: exactly two arguments.
|
|
bad_foreign_code.m:025: In the first argument of `:- pragma foreign_code'
|
|
bad_foreign_code.m:025: declaration:
|
|
bad_foreign_code.m:025: error: expected the name of a foreign language, got
|
|
bad_foreign_code.m:025: `"InvalidLanguage"'.
|
|
bad_foreign_code.m:025: The valid languages are c, C, csharp, C#, java and
|
|
bad_foreign_code.m:025: Java.
|
|
bad_foreign_code.m:029: In the second argument of `:- pragma foreign_code'
|
|
bad_foreign_code.m:029: declaration:
|
|
bad_foreign_code.m:029: error: expected a string containing foreign code, got
|
|
bad_foreign_code.m:029: `2222'.
|
|
bad_foreign_code.m:033: In the second argument of `:- pragma foreign_code'
|
|
bad_foreign_code.m:033: declaration:
|
|
bad_foreign_code.m:033: error: expected a string containing foreign code, got
|
|
bad_foreign_code.m:033: `include_file(3333)'.
|
|
bad_foreign_code.m:043: In the first argument of `:- pragma foreign_code'
|
|
bad_foreign_code.m:043: declaration:
|
|
bad_foreign_code.m:043: error: expected the name of a foreign language, got
|
|
bad_foreign_code.m:043: `"InvalidLanguage"'.
|
|
bad_foreign_code.m:043: The valid languages are c, C, csharp, C#, java and
|
|
bad_foreign_code.m:043: Java.
|
|
bad_foreign_code.m:044: In the second argument of `:- pragma foreign_code'
|
|
bad_foreign_code.m:044: declaration:
|
|
bad_foreign_code.m:044: error: expected a string containing foreign code, got
|
|
bad_foreign_code.m:044: `6666'.
|
|
bad_foreign_code.m:047: In the first argument of `:- pragma foreign_code'
|
|
bad_foreign_code.m:047: declaration:
|
|
bad_foreign_code.m:047: error: expected the name of a foreign language, got
|
|
bad_foreign_code.m:047: `"Erlang"'.
|
|
bad_foreign_code.m:047: The valid languages are c, C, csharp, C#, java and
|
|
bad_foreign_code.m:047: Java.
|
|
bad_foreign_code.m:047: Support for Erlang has been discontinued.
|