Build/Test: Dropping 2013 allows using the latest googletests.

These have a new spelling: INSTANTIATE_TEST_CASE_P -> INSTANTIATE_TEST_SUITE_P
This commit is contained in:
johnkslang 2020-08-05 05:23:04 -06:00
parent 2de6d657dd
commit 23f3bdfea1
12 changed files with 51 additions and 63 deletions

View File

@ -48,9 +48,6 @@ install:
- C:/Python27/python.exe update_glslang_sources.py - C:/Python27/python.exe update_glslang_sources.py
- set PATH=C:\ninja;C:\Python36;%PATH% - set PATH=C:\ninja;C:\Python36;%PATH%
- git clone https://github.com/google/googletest.git External/googletest - git clone https://github.com/google/googletest.git External/googletest
- cd External/googletest
- git checkout 440527a61e1c91188195f7de212c63c77e8f0a45
- cd ../..
build: build:
parallel: true # enable MSBuild parallel builds parallel: true # enable MSBuild parallel builds

View File

@ -99,7 +99,7 @@ branch.
### Dependencies ### Dependencies
* A C++11 compiler. * A C++11 compiler.
(For MSVS: 2015 is recommended, 2013 is fully supported/tested, and 2010 support is attempted, but not tested.) (For MSVS: use 2015 or later.)
* [CMake][cmake]: for generating compilation targets. * [CMake][cmake]: for generating compilation targets.
* make: _Linux_, ninja is an alternative, if configured. * make: _Linux_, ninja is an alternative, if configured.
* [Python 3.x][python]: for executing SPIRV-Tools scripts. (Optional if not using SPIRV-Tools and the 'External' subdirectory does not exist.) * [Python 3.x][python]: for executing SPIRV-Tools scripts. (Optional if not using SPIRV-Tools and the 'External' subdirectory does not exist.)
@ -125,15 +125,6 @@ cd <the directory glslang was cloned to, "External" will be a subdirectory>
git clone https://github.com/google/googletest.git External/googletest git clone https://github.com/google/googletest.git External/googletest
``` ```
If you want to use googletest with Visual Studio 2013, you also need to check out an older version:
```bash
# to use googletest with Visual Studio 2013
cd External/googletest
git checkout 440527a61e1c91188195f7de212c63c77e8f0a45
cd ../..
```
If you wish to assure that SPIR-V generated from HLSL is legal for Vulkan, If you wish to assure that SPIR-V generated from HLSL is legal for Vulkan,
wish to invoke -Os to reduce SPIR-V size from HLSL or GLSL, or wish to run the wish to invoke -Os to reduce SPIR-V size from HLSL or GLSL, or wish to run the
integrated test suite, install spirv-tools with this: integrated test suite, install spirv-tools with this:

View File

@ -6,9 +6,9 @@ load(
http_archive( http_archive(
name = "com_google_googletest", name = "com_google_googletest",
sha256 = "ef9e2e12e7bf115ee48b427ae171fc869eeaf1b532c0fcfd982f6a353d2471b4", sha256 = "94c634d499558a76fa649edb13721dce6e98fb1e7018dfaeba3cd7a083945e91",
strip_prefix = "googletest-37ae1fc5e6be26f367d76c078beabd7024fed53a", strip_prefix = "googletest-release-1.10.0",
urls = ["https://github.com/google/googletest/archive/37ae1fc5e6be26f367d76c078beabd7024fed53a.zip"], # 2018-07-16 urls = ["https://github.com/google/googletest/archive/release-1.10.0.zip"], # 3-Oct-2019
) )
http_archive( http_archive(

View File

@ -59,7 +59,7 @@ TEST_P(CompileToAstTestNV, FromFile)
} }
// clang-format off // clang-format off
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
Glsl, CompileToAstTest, Glsl, CompileToAstTest,
::testing::ValuesIn(std::vector<std::string>({ ::testing::ValuesIn(std::vector<std::string>({
"sample.frag", "sample.frag",
@ -282,7 +282,7 @@ INSTANTIATE_TEST_CASE_P(
FileNameAsCustomTestSuffix FileNameAsCustomTestSuffix
); );
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
Glsl, CompileToAstTestNV, Glsl, CompileToAstTestNV,
::testing::ValuesIn(std::vector<std::string>({ ::testing::ValuesIn(std::vector<std::string>({
"nvShaderNoperspectiveInterpolation.frag", "nvShaderNoperspectiveInterpolation.frag",

View File

@ -95,7 +95,7 @@ TEST_P(ConfigTest, FromFile)
} }
// clang-format off // clang-format off
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
Glsl, ConfigTest, Glsl, ConfigTest,
::testing::ValuesIn(std::vector<TestCaseSpec>({ ::testing::ValuesIn(std::vector<TestCaseSpec>({
{"specExamples.vert", "baseResults/test.conf", "specExamplesConf.vert.out", (EShMessages)(EShMsgAST | EShMsgCascadingErrors)}, {"specExamples.vert", "baseResults/test.conf", "specExamplesConf.vert.out", (EShMessages)(EShMsgAST | EShMsgCascadingErrors)},

View File

@ -77,7 +77,7 @@ TEST_P(HexDoubleTest, DecodeCorrectly) {
EXPECT_THAT(Decode<double>(GetParam().second), Eq(GetParam().first)); EXPECT_THAT(Decode<double>(GetParam().second), Eq(GetParam().first));
} }
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
Float32Tests, HexFloatTest, Float32Tests, HexFloatTest,
::testing::ValuesIn(std::vector<std::pair<FloatProxy<float>, std::string>>({ ::testing::ValuesIn(std::vector<std::pair<FloatProxy<float>, std::string>>({
{0.f, "0x0p+0"}, {0.f, "0x0p+0"},
@ -129,7 +129,7 @@ INSTANTIATE_TEST_CASE_P(
}))); })));
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
Float32NanTests, HexFloatTest, Float32NanTests, HexFloatTest,
::testing::ValuesIn(std::vector<std::pair<FloatProxy<float>, std::string>>({ ::testing::ValuesIn(std::vector<std::pair<FloatProxy<float>, std::string>>({
// Various NAN and INF cases // Various NAN and INF cases
@ -147,7 +147,7 @@ INSTANTIATE_TEST_CASE_P(
{uint32_t(0x7FFFFFFF), "0x1.fffffep+128"}, // +nan {uint32_t(0x7FFFFFFF), "0x1.fffffep+128"}, // +nan
}))); })));
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
Float64Tests, HexDoubleTest, Float64Tests, HexDoubleTest,
::testing::ValuesIn( ::testing::ValuesIn(
std::vector<std::pair<FloatProxy<double>, std::string>>({ std::vector<std::pair<FloatProxy<double>, std::string>>({
@ -220,7 +220,7 @@ INSTANTIATE_TEST_CASE_P(
}))); })));
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
Float64NanTests, HexDoubleTest, Float64NanTests, HexDoubleTest,
::testing::ValuesIn(std::vector< ::testing::ValuesIn(std::vector<
std::pair<FloatProxy<double>, std::string>>({ std::pair<FloatProxy<double>, std::string>>({
@ -262,7 +262,7 @@ TEST_P(DecodeHexDoubleTest, DecodeCorrectly) {
EXPECT_THAT(Decode<double>(GetParam().first), Eq(GetParam().second)); EXPECT_THAT(Decode<double>(GetParam().first), Eq(GetParam().second));
} }
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
Float32DecodeTests, DecodeHexFloatTest, Float32DecodeTests, DecodeHexFloatTest,
::testing::ValuesIn(std::vector<std::pair<std::string, FloatProxy<float>>>({ ::testing::ValuesIn(std::vector<std::pair<std::string, FloatProxy<float>>>({
{"0x0p+000", 0.f}, {"0x0p+000", 0.f},
@ -284,7 +284,7 @@ INSTANTIATE_TEST_CASE_P(
{"0x0.4p+0", 0.25f}, {"0x0.4p+0", 0.25f},
}))); })));
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
Float32DecodeInfTests, DecodeHexFloatTest, Float32DecodeInfTests, DecodeHexFloatTest,
::testing::ValuesIn(std::vector<std::pair<std::string, FloatProxy<float>>>({ ::testing::ValuesIn(std::vector<std::pair<std::string, FloatProxy<float>>>({
// inf cases // inf cases
@ -294,7 +294,7 @@ INSTANTIATE_TEST_CASE_P(
{"-0x32p+127", uint32_t(0xFF800000)}, // -inf {"-0x32p+127", uint32_t(0xFF800000)}, // -inf
}))); })));
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
Float64DecodeTests, DecodeHexDoubleTest, Float64DecodeTests, DecodeHexDoubleTest,
::testing::ValuesIn( ::testing::ValuesIn(
std::vector<std::pair<std::string, FloatProxy<double>>>({ std::vector<std::pair<std::string, FloatProxy<double>>>({
@ -317,7 +317,7 @@ INSTANTIATE_TEST_CASE_P(
{"0x0.4p+0", 0.25}, {"0x0.4p+0", 0.25},
}))); })));
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
Float64DecodeInfTests, DecodeHexDoubleTest, Float64DecodeInfTests, DecodeHexDoubleTest,
::testing::ValuesIn( ::testing::ValuesIn(
std::vector<std::pair<std::string, FloatProxy<double>>>({ std::vector<std::pair<std::string, FloatProxy<double>>>({
@ -465,7 +465,7 @@ TEST_P(FloatProxyDoubleTest, EncodeCorrectly) {
Eq(GetParam().second)); Eq(GetParam().second));
} }
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
Float32Tests, FloatProxyFloatTest, Float32Tests, FloatProxyFloatTest,
::testing::ValuesIn(std::vector<std::pair<FloatProxy<float>, std::string>>({ ::testing::ValuesIn(std::vector<std::pair<FloatProxy<float>, std::string>>({
// Zero // Zero
@ -497,7 +497,7 @@ INSTANTIATE_TEST_CASE_P(
{-std::numeric_limits<float>::infinity(), "-0x1p+128"}, {-std::numeric_limits<float>::infinity(), "-0x1p+128"},
}))); })));
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
Float64Tests, FloatProxyDoubleTest, Float64Tests, FloatProxyDoubleTest,
::testing::ValuesIn( ::testing::ValuesIn(
std::vector<std::pair<FloatProxy<double>, std::string>>({ std::vector<std::pair<FloatProxy<double>, std::string>>({
@ -747,7 +747,7 @@ TEST_P(HexFloatRoundTest, RoundDownToFP16) {
} }
// clang-format off // clang-format off
INSTANTIATE_TEST_CASE_P(F32ToF16, HexFloatRoundTest, INSTANTIATE_TEST_SUITE_P(F32ToF16, HexFloatRoundTest,
::testing::ValuesIn(std::vector<RoundSignificandCase>( ::testing::ValuesIn(std::vector<RoundSignificandCase>(
{ {
{float_fractions({0}), std::make_pair(half_bits_set({}), false), spvutils::kRoundToZero}, {float_fractions({0}), std::make_pair(half_bits_set({}), false), spvutils::kRoundToZero},
@ -828,7 +828,7 @@ TEST_P(HexFloatRoundUpSignificandTest, Widening) {
} }
} }
INSTANTIATE_TEST_CASE_P(F16toF32, HexFloatRoundUpSignificandTest, INSTANTIATE_TEST_SUITE_P(F16toF32, HexFloatRoundUpSignificandTest,
// 0xFC00 of the source 16-bit hex value cover the sign and the exponent. // 0xFC00 of the source 16-bit hex value cover the sign and the exponent.
// They are ignored for this test. // They are ignored for this test.
::testing::ValuesIn(std::vector<UpCastSignificandCase>( ::testing::ValuesIn(std::vector<UpCastSignificandCase>(
@ -879,7 +879,7 @@ TEST_P(HexFloatFP32To16Tests, NarrowingCasts) {
const uint16_t positive_infinity = 0x7C00; const uint16_t positive_infinity = 0x7C00;
const uint16_t negative_infinity = 0xFC00; const uint16_t negative_infinity = 0xFC00;
INSTANTIATE_TEST_CASE_P(F32ToF16, HexFloatFP32To16Tests, INSTANTIATE_TEST_SUITE_P(F32ToF16, HexFloatFP32To16Tests,
::testing::ValuesIn(std::vector<DownCastTest>( ::testing::ValuesIn(std::vector<DownCastTest>(
{ {
// Exactly representable as half. // Exactly representable as half.
@ -944,7 +944,7 @@ TEST_P(HexFloatFP16To32Tests, WideningCasts) {
} }
} }
INSTANTIATE_TEST_CASE_P(F16ToF32, HexFloatFP16To32Tests, INSTANTIATE_TEST_SUITE_P(F16ToF32, HexFloatFP16To32Tests,
::testing::ValuesIn(std::vector<UpCastCase>( ::testing::ValuesIn(std::vector<UpCastCase>(
{ {
{0x0000, 0.f}, {0x0000, 0.f},
@ -1039,7 +1039,7 @@ FloatParseCase<T> GoodFloatParseCase(std::string literal, bool negate_value,
return FloatParseCase<T>{literal, negate_value, true, proxy_expected_value}; return FloatParseCase<T>{literal, negate_value, true, proxy_expected_value};
} }
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
FloatParse, ParseNormalFloatTest, FloatParse, ParseNormalFloatTest,
::testing::ValuesIn(std::vector<FloatParseCase<float>>{ ::testing::ValuesIn(std::vector<FloatParseCase<float>>{
// Failing cases due to trivially incorrect syntax. // Failing cases due to trivially incorrect syntax.
@ -1090,7 +1090,7 @@ TEST_P(ParseNormalFloat16Test, Samples) {
} }
} }
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
Float16Parse, ParseNormalFloat16Test, Float16Parse, ParseNormalFloat16Test,
::testing::ValuesIn(std::vector<FloatParseCase<Float16>>{ ::testing::ValuesIn(std::vector<FloatParseCase<Float16>>{
// Failing cases due to trivially incorrect syntax. // Failing cases due to trivially incorrect syntax.
@ -1137,7 +1137,7 @@ TEST_P(FloatProxyParseOverflowFloatTest, Sample) {
} }
} }
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
FloatOverflow, FloatProxyParseOverflowFloatTest, FloatOverflow, FloatProxyParseOverflowFloatTest,
::testing::ValuesIn(std::vector<OverflowParseCase<float>>({ ::testing::ValuesIn(std::vector<OverflowParseCase<float>>({
{"0", true, 0.0f}, {"0", true, 0.0f},
@ -1164,7 +1164,7 @@ TEST_P(FloatProxyParseOverflowDoubleTest, Sample) {
} }
} }
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
DoubleOverflow, FloatProxyParseOverflowDoubleTest, DoubleOverflow, FloatProxyParseOverflowDoubleTest,
::testing::ValuesIn(std::vector<OverflowParseCase<double>>({ ::testing::ValuesIn(std::vector<OverflowParseCase<double>>({
{"0", true, 0.0}, {"0", true, 0.0},
@ -1193,7 +1193,7 @@ TEST_P(FloatProxyParseOverflowFloat16Test, Sample) {
} }
} }
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
Float16Overflow, FloatProxyParseOverflowFloat16Test, Float16Overflow, FloatProxyParseOverflowFloat16Test,
::testing::ValuesIn(std::vector<OverflowParseCase<uint16_t>>({ ::testing::ValuesIn(std::vector<OverflowParseCase<uint16_t>>({
{"0", true, uint16_t{0}}, {"0", true, uint16_t{0}},

View File

@ -129,7 +129,7 @@ TEST_P(HlslLegalDebugTest, FromFile)
} }
// clang-format off // clang-format off
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
ToSpirv, HlslCompileTest, ToSpirv, HlslCompileTest,
::testing::ValuesIn(std::vector<FileNameEntryPointPair>{ ::testing::ValuesIn(std::vector<FileNameEntryPointPair>{
{"hlsl.amend.frag", "f1"}, {"hlsl.amend.frag", "f1"},
@ -430,7 +430,7 @@ INSTANTIATE_TEST_CASE_P(
// clang-format on // clang-format on
// clang-format off // clang-format off
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
ToSpirv, HlslVulkan1_1CompileTest, ToSpirv, HlslVulkan1_1CompileTest,
::testing::ValuesIn(std::vector<FileNameEntryPointPair>{ ::testing::ValuesIn(std::vector<FileNameEntryPointPair>{
{"hlsl.wavebroadcast.comp", "CSMain"}, {"hlsl.wavebroadcast.comp", "CSMain"},
@ -448,7 +448,7 @@ INSTANTIATE_TEST_CASE_P(
// clang-format on // clang-format on
// clang-format off // clang-format off
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
ToSpirv, HlslCompileAndFlattenTest, ToSpirv, HlslCompileAndFlattenTest,
::testing::ValuesIn(std::vector<FileNameEntryPointPair>{ ::testing::ValuesIn(std::vector<FileNameEntryPointPair>{
{"hlsl.array.flatten.frag", "main"}, {"hlsl.array.flatten.frag", "main"},
@ -460,7 +460,7 @@ INSTANTIATE_TEST_CASE_P(
#if ENABLE_OPT #if ENABLE_OPT
// clang-format off // clang-format off
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
ToSpirv, HlslLegalizeTest, ToSpirv, HlslLegalizeTest,
::testing::ValuesIn(std::vector<FileNameEntryPointPair>{ ::testing::ValuesIn(std::vector<FileNameEntryPointPair>{
{"hlsl.aliasOpaque.frag", "main"}, {"hlsl.aliasOpaque.frag", "main"},
@ -478,7 +478,7 @@ INSTANTIATE_TEST_CASE_P(
#endif #endif
// clang-format off // clang-format off
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
ToSpirv, HlslDebugTest, ToSpirv, HlslDebugTest,
::testing::ValuesIn(std::vector<FileNameEntryPointPair>{ ::testing::ValuesIn(std::vector<FileNameEntryPointPair>{
{"hlsl.pp.line2.frag", "MainPs"} {"hlsl.pp.line2.frag", "MainPs"}
@ -486,7 +486,7 @@ INSTANTIATE_TEST_CASE_P(
FileNameAsCustomTestSuffix FileNameAsCustomTestSuffix
); );
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
ToSpirv, HlslDX9CompatibleTest, ToSpirv, HlslDX9CompatibleTest,
::testing::ValuesIn(std::vector<FileNameEntryPointPair>{ ::testing::ValuesIn(std::vector<FileNameEntryPointPair>{
{"hlsl.sample.dx9.frag", "main"}, {"hlsl.sample.dx9.frag", "main"},
@ -496,7 +496,7 @@ INSTANTIATE_TEST_CASE_P(
); );
// clang-format off // clang-format off
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
ToSpirv, HlslLegalDebugTest, ToSpirv, HlslLegalDebugTest,
::testing::ValuesIn(std::vector<FileNameEntryPointPair>{ ::testing::ValuesIn(std::vector<FileNameEntryPointPair>{
{"hlsl.pp.line4.frag", "MainPs"} {"hlsl.pp.line4.frag", "MainPs"}

View File

@ -109,7 +109,7 @@ TEST_P(LinkTestVulkan, FromFile)
} }
// clang-format off // clang-format off
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
Glsl, LinkTestVulkan, Glsl, LinkTestVulkan,
::testing::ValuesIn(std::vector<std::vector<std::string>>({ ::testing::ValuesIn(std::vector<std::vector<std::string>>({
{"link1.vk.frag", "link2.vk.frag"}, {"link1.vk.frag", "link2.vk.frag"},

View File

@ -86,7 +86,7 @@ TEST_P(LinkTest, FromFile)
} }
// clang-format off // clang-format off
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
Glsl, LinkTest, Glsl, LinkTest,
::testing::ValuesIn(std::vector<std::vector<std::string>>({ ::testing::ValuesIn(std::vector<std::vector<std::string>>({
{"mains1.frag", "mains2.frag", "noMain1.geom", "noMain2.geom"}, {"mains1.frag", "mains2.frag", "noMain1.geom", "noMain2.geom"},

View File

@ -47,7 +47,7 @@ TEST_P(PreprocessingTest, FromFile)
} }
// clang-format off // clang-format off
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
Glsl, PreprocessingTest, Glsl, PreprocessingTest,
::testing::ValuesIn(std::vector<std::string>({ ::testing::ValuesIn(std::vector<std::string>({
"preprocessor.bad_arg.vert", "preprocessor.bad_arg.vert",

View File

@ -80,7 +80,7 @@ TEST_P(RemapTest, FromFile)
} }
// clang-format off // clang-format off
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
ToSpirv, RemapTest, ToSpirv, RemapTest,
::testing::ValuesIn(std::vector<RemapTestArgs>{ ::testing::ValuesIn(std::vector<RemapTestArgs>{
// GLSL remapper tests // GLSL remapper tests

View File

@ -213,7 +213,7 @@ TEST_P(CompileUpgradeTextureToSampledTextureAndDropSamplersTest, FromFile)
} }
// clang-format off // clang-format off
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
Glsl, CompileVulkanToSpirvTest, Glsl, CompileVulkanToSpirvTest,
::testing::ValuesIn(std::vector<std::string>({ ::testing::ValuesIn(std::vector<std::string>({
// Test looping constructs. // Test looping constructs.
@ -450,7 +450,7 @@ INSTANTIATE_TEST_CASE_P(
// Cases with deliberately unreachable code. // Cases with deliberately unreachable code.
// By default the compiler will aggressively eliminate // By default the compiler will aggressively eliminate
// unreachable merges and continues. // unreachable merges and continues.
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
GlslWithDeadCode, CompileVulkanToSpirvDeadCodeElimTest, GlslWithDeadCode, CompileVulkanToSpirvDeadCodeElimTest,
::testing::ValuesIn(std::vector<std::string>({ ::testing::ValuesIn(std::vector<std::string>({
"spv.dead-after-continue.vert", "spv.dead-after-continue.vert",
@ -465,7 +465,7 @@ INSTANTIATE_TEST_CASE_P(
); );
// clang-format off // clang-format off
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
Glsl, CompileVulkanToDebugSpirvTest, Glsl, CompileVulkanToDebugSpirvTest,
::testing::ValuesIn(std::vector<std::string>({ ::testing::ValuesIn(std::vector<std::string>({
"spv.pp.line.frag", "spv.pp.line.frag",
@ -474,7 +474,7 @@ INSTANTIATE_TEST_CASE_P(
); );
// clang-format off // clang-format off
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
Glsl, CompileVulkan1_1ToSpirvTest, Glsl, CompileVulkan1_1ToSpirvTest,
::testing::ValuesIn(std::vector<std::string>({ ::testing::ValuesIn(std::vector<std::string>({
"spv.1.3.8bitstorage-ubo.vert", "spv.1.3.8bitstorage-ubo.vert",
@ -530,7 +530,7 @@ INSTANTIATE_TEST_CASE_P(
); );
// clang-format off // clang-format off
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
Glsl, CompileToSpirv14Test, Glsl, CompileToSpirv14Test,
::testing::ValuesIn(std::vector<std::string>({ ::testing::ValuesIn(std::vector<std::string>({
"spv.1.4.LoopControl.frag", "spv.1.4.LoopControl.frag",
@ -566,7 +566,7 @@ INSTANTIATE_TEST_CASE_P(
); );
// clang-format off // clang-format off
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
Hlsl, HlslIoMap, Hlsl, HlslIoMap,
::testing::ValuesIn(std::vector<IoMapData>{ ::testing::ValuesIn(std::vector<IoMapData>{
{ "spv.register.autoassign.frag", "main_ep", 5, 10, 0, 20, 30, true, false }, { "spv.register.autoassign.frag", "main_ep", 5, 10, 0, 20, 30, true, false },
@ -586,7 +586,7 @@ INSTANTIATE_TEST_CASE_P(
); );
// clang-format off // clang-format off
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
Hlsl, GlslIoMap, Hlsl, GlslIoMap,
::testing::ValuesIn(std::vector<IoMapData>{ ::testing::ValuesIn(std::vector<IoMapData>{
{ "spv.glsl.register.autoassign.frag", "main", 5, 10, 0, 20, 30, true, false }, { "spv.glsl.register.autoassign.frag", "main", 5, 10, 0, 20, 30, true, false },
@ -596,7 +596,7 @@ INSTANTIATE_TEST_CASE_P(
); );
// clang-format off // clang-format off
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
Glsl, CompileOpenGLToSpirvTest, Glsl, CompileOpenGLToSpirvTest,
::testing::ValuesIn(std::vector<std::string>({ ::testing::ValuesIn(std::vector<std::string>({
"spv.460.frag", "spv.460.frag",
@ -621,7 +621,7 @@ INSTANTIATE_TEST_CASE_P(
FileNameAsCustomTestSuffix FileNameAsCustomTestSuffix
); );
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
Glsl, VulkanSemantics, Glsl, VulkanSemantics,
::testing::ValuesIn(std::vector<std::string>({ ::testing::ValuesIn(std::vector<std::string>({
"vulkan.frag", "vulkan.frag",
@ -633,7 +633,7 @@ INSTANTIATE_TEST_CASE_P(
FileNameAsCustomTestSuffix FileNameAsCustomTestSuffix
); );
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
Glsl, OpenGLSemantics, Glsl, OpenGLSemantics,
::testing::ValuesIn(std::vector<std::string>({ ::testing::ValuesIn(std::vector<std::string>({
"glspv.esversion.vert", "glspv.esversion.vert",
@ -645,7 +645,7 @@ INSTANTIATE_TEST_CASE_P(
FileNameAsCustomTestSuffix FileNameAsCustomTestSuffix
); );
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
Glsl, VulkanAstSemantics, Glsl, VulkanAstSemantics,
::testing::ValuesIn(std::vector<std::string>({ ::testing::ValuesIn(std::vector<std::string>({
"vulkan.ast.vert", "vulkan.ast.vert",
@ -653,7 +653,7 @@ INSTANTIATE_TEST_CASE_P(
FileNameAsCustomTestSuffix FileNameAsCustomTestSuffix
); );
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
Glsl, CompileVulkanToSpirvTestAMD, Glsl, CompileVulkanToSpirvTestAMD,
::testing::ValuesIn(std::vector<std::string>({ ::testing::ValuesIn(std::vector<std::string>({
"spv.16bitxfb.vert", "spv.16bitxfb.vert",
@ -669,7 +669,7 @@ INSTANTIATE_TEST_CASE_P(
FileNameAsCustomTestSuffix FileNameAsCustomTestSuffix
); );
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
Glsl, CompileVulkanToSpirvTestNV, Glsl, CompileVulkanToSpirvTestNV,
::testing::ValuesIn(std::vector<std::string>({ ::testing::ValuesIn(std::vector<std::string>({
"spv.sampleMaskOverrideCoverage.frag", "spv.sampleMaskOverrideCoverage.frag",
@ -717,7 +717,7 @@ INSTANTIATE_TEST_CASE_P(
FileNameAsCustomTestSuffix FileNameAsCustomTestSuffix
); );
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_SUITE_P(
Glsl, CompileUpgradeTextureToSampledTextureAndDropSamplersTest, Glsl, CompileUpgradeTextureToSampledTextureAndDropSamplersTest,
::testing::ValuesIn(std::vector<std::string>({ ::testing::ValuesIn(std::vector<std::string>({
"spv.texture.sampler.transform.frag", "spv.texture.sampler.transform.frag",