meson: inline gtest_test_protocol now that it's always 'gtest'

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21485>
This commit is contained in:
Eric Engestrom
2023-02-23 10:49:37 +00:00
committed by Marge Bot
parent a18f439f52
commit f5d3d1e7ed
23 changed files with 26 additions and 34 deletions

View File

@@ -32,7 +32,7 @@ test(
dependencies : [dep_clock, dep_thread, idep_gtest, idep_mesautil],
),
suite : ['compiler', 'glsl'],
protocol : gtest_test_protocol,
protocol : 'gtest',
)
test(
@@ -47,7 +47,7 @@ test(
dependencies : [dep_thread, idep_gtest, idep_mesautil],
),
suite : ['compiler', 'glsl'],
protocol : gtest_test_protocol,
protocol : 'gtest',
)
test(
@@ -62,7 +62,7 @@ test(
dependencies : [dep_thread, idep_gtest],
),
suite : ['compiler', 'glsl'],
protocol : gtest_test_protocol,
protocol : 'gtest',
)
# Meson can't auto-skip these on cross builds because of the python wrapper

View File

@@ -88,7 +88,7 @@ if with_tests
dependencies : [dep_thread, idep_gtest, idep_nir, idep_mesautil],
),
suite : ['compiler', 'spirv'],
protocol : gtest_test_protocol,
protocol : 'gtest',
)
endif

View File

@@ -428,7 +428,7 @@ if with_tests
dependencies : [dep_thread, idep_gtest, idep_nir, idep_mesautil],
),
suite : ['compiler', 'nir'],
protocol : gtest_test_protocol,
protocol : 'gtest',
)
test(
@@ -453,7 +453,7 @@ if with_tests
suite : ['compiler', 'nir'],
# TODO: Use a negative filter for gtest instead of the expect failure here.
should_fail : meson.get_external_property('xfail', '').contains('load_store_vectorizer'),
protocol : gtest_test_protocol,
protocol : 'gtest',
)
test(