mirror of
https://github.com/openharmony/third_party_spirv-tools.git
synced 2026-07-21 03:35:25 -04:00
Fix round trip tests that weren't instantiated (#3417)
Need to actually instantiate them with TEST_P in the same source file. Remove the instantiation of RoundTripTest from unit.cpp because it's viewed as having no instantiations.
This commit is contained in:
@@ -47,10 +47,5 @@ TEST(WordVectorPrintTo, PreservesFlagsAndFill) {
|
||||
EXPECT_THAT(s.str(), Eq("xx10 0x0000000a 0x00000010 xx11"));
|
||||
}
|
||||
|
||||
TEST_P(RoundTripTest, Sample) {
|
||||
EXPECT_THAT(EncodeAndDecodeSuccessfully(GetParam()), Eq(GetParam()))
|
||||
<< GetParam();
|
||||
}
|
||||
|
||||
} // namespace
|
||||
} // namespace spvtools
|
||||
|
||||
Reference in New Issue
Block a user