mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
bug 203431: [Error Parser] GNU Make parser - too strict about command name?
This commit is contained in:
parent
a4f9cfe9cc
commit
6a1cdf4b56
1 changed files with 14 additions and 1 deletions
|
@ -42,7 +42,6 @@ public class MakeErrorParserTests extends GenericErrorParserTests {
|
|||
// Ignored
|
||||
"make[3]: Nothing to be done for `all'.",
|
||||
"make[2]: `all' is up to date.",
|
||||
|
||||
};
|
||||
private static final int GMAKE_ERROR_STREAM0_INFOS = 2;
|
||||
private static final int GMAKE_ERROR_STREAM0_WARNINGS = 3;
|
||||
|
@ -63,6 +62,15 @@ public class MakeErrorParserTests extends GenericErrorParserTests {
|
|||
private static final String[] GMAKE_ERROR_STREAM1_FILENAMES = {"Makefile1", "Makefile2",
|
||||
"Makefile3", "Makefile4", "Makefile5", "Makefile6"};
|
||||
|
||||
private static final String[] GMAKE_ERROR_STREAM2 = {
|
||||
// Errors
|
||||
"gmake[3]: *** [Hello.o] Error 1",
|
||||
"make-381.exe: *** [Hello.o] Error 1",
|
||||
"gmake381: Target `all' not remade because of errors.",
|
||||
};
|
||||
private static final int GMAKE_ERROR_STREAM2_WARNINGS = 0;
|
||||
private static final int GMAKE_ERROR_STREAM2_ERRORS = 3;
|
||||
|
||||
public MakeErrorParserTests() {
|
||||
super();
|
||||
}
|
||||
|
@ -85,4 +93,9 @@ public class MakeErrorParserTests extends GenericErrorParserTests {
|
|||
runParserTest(GMAKE_ERROR_STREAM1, GMAKE_ERROR_STREAM1_ERRORS, GMAKE_ERROR_STREAM1_WARNINGS,
|
||||
GMAKE_ERROR_STREAM1_FILENAMES, null, new String[]{GMAKE_ERROR_PARSER_ID});
|
||||
}
|
||||
|
||||
public void testGmakeMessages2() throws IOException {
|
||||
runParserTest(GMAKE_ERROR_STREAM2, GMAKE_ERROR_STREAM2_ERRORS, GMAKE_ERROR_STREAM2_WARNINGS,
|
||||
null, null, new String[]{GMAKE_ERROR_PARSER_ID});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue