Skip to content

Commit

Permalink
Merge branch 'mr/gnat-llvm-skip-failing-project-tests' into 'master'
Browse files Browse the repository at this point in the history
Skip failing GNATCOLL.Projects tests with GNAT-LLVM

See merge request eng/toolchain/gnatcoll-core!125
  • Loading branch information
sebastianpoeplau committed Jul 19, 2024
2 parents 3867457 + 2c7addb commit 46d59c1
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions testsuite/run-tests
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,17 @@ class MyTestsuite(Testsuite):
" If both are specified, only --recompile is used.",
default=False,
action="store_true")
parser.add_argument(
'--llvm',
help="assume that an LLVM-based toolchain is used.",
default=False,
action="store_true")

def set_up(self):
self.env.gnatcov = self.main.args.gnatcov
self.env.valgrind = self.main.args.valgrind
self.env.source_root = self.main.args.source_root
self.env.llvm = self.main.args.llvm

# Reject incompatible options
incompatible = [name for name in ('gnatcov', 'valgrind')
Expand Down
1 change: 1 addition & 0 deletions testsuite/tests/projects/implicit_tgt_src_dir/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ data:
- "foo.gpr"
control:
- [SKIP, "env.is_cross", "Libutil missing from cross-linux sysroots, see T616-039"]
- [SKIP, "env.llvm", "GNATCOLL.Projects unsupported (see eng/toolchain/gnatcoll-core#66)"]
1 change: 1 addition & 0 deletions testsuite/tests/projects/package_typo/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ data:
- "common.gpr"
control:
- [SKIP, "env.is_cross", "Libutil missing from cross-linux sysroots, see T616-039"]
- [SKIP, "env.llvm", "GNATCOLL.Projects unsupported (see eng/toolchain/gnatcoll-core#66)"]
1 change: 1 addition & 0 deletions testsuite/tests/projects/runtime_default/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ data:
- "simple.gpr"
control:
- [SKIP, "env.is_cross", "Libutil missing from cross-linux sysroots, see T616-039"]
- [SKIP, "env.llvm", "GNATCOLL.Projects unsupported (see eng/toolchain/gnatcoll-core#66)"]
1 change: 1 addition & 0 deletions testsuite/tests/projects/target_from_extended/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ data:
- "simple.ads"
control:
- [SKIP, "env.is_cross", "Libutil missing from cross-linux sysroots, see T616-039"]
- [SKIP, "env.llvm", "GNATCOLL.Projects unsupported (see eng/toolchain/gnatcoll-core#66)"]
1 change: 1 addition & 0 deletions testsuite/tests/projects/type_from_missing_with/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ control:
- [XFAIL, "env.valgrind",
"Known memory leak: see S912-005"]
- [SKIP, "env.is_cross", "Libutil missing from cross-linux sysroots, see T616-039"]
- [SKIP, "env.llvm", "GNATCOLL.Projects unsupported (see eng/toolchain/gnatcoll-core#66)"]

0 comments on commit 46d59c1

Please sign in to comment.