-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'topic/gnatcheck_worker_errors' into 'master'
Correct gnatcheck_errors tests Closes #177 See merge request eng/libadalang/langkit-query-language!147
- Loading branch information
Showing
14 changed files
with
63 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
9 changes: 9 additions & 0 deletions
9
testsuite/tests/gnatcheck_errors/missing_source_dirs/linux/test.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
driver: gnatcheck | ||
format: brief | ||
project: prj.gpr | ||
rules: | ||
- +RGOTO_Statements | ||
control: | ||
- [SKIP, | ||
"os == 'windows'", | ||
"Disable this test on Windows due to path formatting"] |
3 changes: 3 additions & 0 deletions
3
testsuite/tests/gnatcheck_errors/missing_source_dirs/windows/prj.gpr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
project Prj is | ||
for Source_Dirs use ("invalid_source_dirs"); | ||
end Prj; |
4 changes: 4 additions & 0 deletions
4
testsuite/tests/gnatcheck_errors/missing_source_dirs/windows/test.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
gnatcheck: prj.gpr:2:26: error: "\invalid_source_dirs" is not a valid directory | ||
gnatcheck: prj.gpr: warning: there are no sources of language "Ada" in this project | ||
try "gnatcheck --help" for more information. | ||
>>>program returned status code 2 |
9 changes: 9 additions & 0 deletions
9
testsuite/tests/gnatcheck_errors/missing_source_dirs/windows/test.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
driver: gnatcheck | ||
format: brief | ||
project: prj.gpr | ||
rules: | ||
- +RGOTO_Statements | ||
control: | ||
- [SKIP, | ||
"os != 'windows'", | ||
"Disable this test on non-Windows systems due to path formatting"] |
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
testsuite/tests/gnatcheck_errors/unparsable_worker_messages/test.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
gnatcheck: Unparsable line: This line is not parsable | ||
gnatcheck: Unparsable line: Message: should appear | ||
gnatcheck: Unparsable line: This line is not parsable either |
4 changes: 3 additions & 1 deletion
4
...heck_errors/missing_source_dirs/test.yaml → ...rors/unparsable_worker_messages/test.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
driver: gnatcheck | ||
format: brief | ||
project: prj.gpr | ||
worker: "unparsable_generator" | ||
input_sources: | ||
- main.adb | ||
rules: | ||
- +RGOTO_Statements |