Skip to content

Commit 61c5c74

Browse files
committed
UNINSTANTIATED_PARAMETERIZED_TEST warning supressed
1 parent bfea2e2 commit 61c5c74

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/unittests/Target/AMDGPU/NextUseAnalysisTest.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,9 @@ class NextUseAnalysisParameterizedTest : public NextUseAnalysisTestBase,
386386
public testing::WithParamInterface<std::string> {
387387
};
388388

389+
// Allow uninstantiated test when test files are not available
390+
GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(NextUseAnalysisParameterizedTest);
391+
389392
std::string getTestDirectory() {
390393
// First try environment variable
391394
const char *testDirEnv = std::getenv("AMDGPU_NUA_TEST_DIR");

0 commit comments

Comments
 (0)