Skip to content

Commit c5469b9

Browse files
committed
Make wrong_runtime test target independent
1 parent 8c8bb4e commit c5469b9

File tree

9 files changed

+10
-42
lines changed

9 files changed

+10
-42
lines changed

testsuite/tests/gnatcheck_errors/wrong_runtime/linux/test.yaml

Lines changed: 0 additions & 14 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
testsuite_driver: No output file generated by gnatcheck
2-
kb: info: can't find a toolchain for the following configuration: language 'Ada', target 'x86_64-linux', runtime 'unknown'
2+
kb: info: can't find a toolchain for the following configuration: language 'Ada', target '<target>', runtime 'unknown'
33
prj.gpr:1:1: error: cannot load the Ada runtime, processing failed
44
try "gnatcheck --help" for more information.
55
>>>program returned status code 2
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Expected behavior here is that libgpr warns when a runtime doesn't exist
2+
3+
driver: gnatcheck
4+
project: prj.gpr
5+
rules:
6+
- +Rrecursive_subprograms
7+
extra_args:
8+
- --RTS=unknown
9+
canonicalize_target: true

testsuite/tests/gnatcheck_errors/wrong_runtime/windows/main.adb

Lines changed: 0 additions & 6 deletions
This file was deleted.

testsuite/tests/gnatcheck_errors/wrong_runtime/windows/prj.gpr

Lines changed: 0 additions & 2 deletions
This file was deleted.

testsuite/tests/gnatcheck_errors/wrong_runtime/windows/test.out

Lines changed: 0 additions & 5 deletions
This file was deleted.

testsuite/tests/gnatcheck_errors/wrong_runtime/windows/test.yaml

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)