summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/slang-test/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/slang-test/main.cpp b/tools/slang-test/main.cpp
index 9ce92f5bb..f710d63f2 100644
--- a/tools/slang-test/main.cpp
+++ b/tools/slang-test/main.cpp
@@ -944,7 +944,7 @@ TestResult runCrossCompilerTest(TestContext* context, TestInput& input)
SlangCompileTarget target = _getCompileTarget(args[targetIndex + 1].getUnownedSlice());
// Check the session supports it. If not we ignore it
- if (SLANG_FAILED(spSessionHasCompileTargetSupport(context->getSession(), target)))
+ if (SLANG_FAILED(spSessionCheckCompileTargetSupport(context->getSession(), target)))
{
return TestResult::Ignored;
}