Skip to content

Commit 606f4a6

Browse files
committed
tests/plugin/rich-location: disable if rich_location is unavailable (prior to gcc 6)
1 parent d9851b0 commit 606f4a6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

run-test-suite.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -751,6 +751,10 @@ def exclude_tests_below(path):
751751
if GCC_VERSION < 6000:
752752
exclude_test('tests/examples/find-global-state')
753753

754+
# class rich_location was added to libcpp in gcc 6.
755+
if GCC_VERSION < 6000:
756+
exclude_test('tests/plugin/rich-location')
757+
754758
# compound locations are only supported for GCC 7 and later:
755759
if GCC_VERSION < 7000:
756760
exclude_test('tests/plugin/compound-locations')

0 commit comments

Comments
 (0)