mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-25 14:24:11 +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.
49 lines
2.7 KiB
Plaintext
49 lines
2.7 KiB
Plaintext
bad_foreign_proc.m:017: Error: a `:- pragma foreign_proc' declaration must have
|
|
bad_foreign_proc.m:017: four arguments.
|
|
bad_foreign_proc.m:021: Error: a `:- pragma foreign_proc' declaration must have
|
|
bad_foreign_proc.m:021: four arguments.
|
|
bad_foreign_proc.m:030: In the first argument of `:- pragma foreign_proc'
|
|
bad_foreign_proc.m:030: declaration:
|
|
bad_foreign_proc.m:030: error: expected the name of a foreign language, got
|
|
bad_foreign_proc.m:030: `"InvalidLanuage"'.
|
|
bad_foreign_proc.m:030: The valid languages are c, C, csharp, C#, java and
|
|
bad_foreign_proc.m:030: Java.
|
|
bad_foreign_proc.m:039: In the second argument of `:- pragma foreign_proc'
|
|
bad_foreign_proc.m:039: declaration:
|
|
bad_foreign_proc.m:039: error: expected a symbol name, got `"foo"'.
|
|
bad_foreign_proc.m:043: In the third argument of `:- pragma foreign_proc'
|
|
bad_foreign_proc.m:043: declaration:
|
|
bad_foreign_proc.m:043: error: expected an attribute list, got
|
|
bad_foreign_proc.m:043: `"promise_pure"'.
|
|
bad_foreign_proc.m:053: In the third argument of `:- pragma foreign_proc'
|
|
bad_foreign_proc.m:053: declaration:
|
|
bad_foreign_proc.m:053: error: conflicting attributes in attribute list.
|
|
bad_foreign_proc.m:060: In the fourth argument of `:- pragma foreign_proc'
|
|
bad_foreign_proc.m:060: declaration:
|
|
bad_foreign_proc.m:060: error: expected a string containing foreign code, got
|
|
bad_foreign_proc.m:060: `5555'.
|
|
bad_foreign_proc.m:065: In the first argument of `:- pragma foreign_proc'
|
|
bad_foreign_proc.m:065: declaration:
|
|
bad_foreign_proc.m:065: error: expected the name of a foreign language, got
|
|
bad_foreign_proc.m:065: `"InvalidLanguage"'.
|
|
bad_foreign_proc.m:065: The valid languages are c, C, csharp, C#, java and
|
|
bad_foreign_proc.m:065: Java.
|
|
bad_foreign_proc.m:066: In the second argument of `:- pragma foreign_proc'
|
|
bad_foreign_proc.m:066: declaration:
|
|
bad_foreign_proc.m:066: error: expected a symbol name, got `"foo"'.
|
|
bad_foreign_proc.m:067: In the third argument of `:- pragma foreign_proc'
|
|
bad_foreign_proc.m:067: declaration:
|
|
bad_foreign_proc.m:067: error: expected an attribute list, got
|
|
bad_foreign_proc.m:067: `"promise_pure"'.
|
|
bad_foreign_proc.m:068: In the fourth argument of `:- pragma foreign_proc'
|
|
bad_foreign_proc.m:068: declaration:
|
|
bad_foreign_proc.m:068: error: expected a string containing foreign code, got
|
|
bad_foreign_proc.m:068: `6666'.
|
|
bad_foreign_proc.m:073: In the first argument of `:- pragma foreign_proc'
|
|
bad_foreign_proc.m:073: declaration:
|
|
bad_foreign_proc.m:073: error: expected the name of a foreign language, got
|
|
bad_foreign_proc.m:073: `"Erlang"'.
|
|
bad_foreign_proc.m:073: The valid languages are c, C, csharp, C#, java and
|
|
bad_foreign_proc.m:073: Java.
|
|
bad_foreign_proc.m:073: Support for Erlang has been discontinued.
|