From da6be80f18014a3972eedf05099cd0066e9eae04 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Fri, 3 Dec 2021 11:45:01 -0500 Subject: Split out ExecutableLocation (#2041) * #include an absolute path didn't work - because paths were taken to always be relative. * Split out ExecutableLocation. * Fixes for changes to ExecutableLocation. * Fix issues around Process on windows. * Improve comments. Kick CI. --- tools/slang-unit-test/unit-test-process.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/slang-unit-test/unit-test-process.cpp') diff --git a/tools/slang-unit-test/unit-test-process.cpp b/tools/slang-unit-test/unit-test-process.cpp index 559522769..839a19f5d 100644 --- a/tools/slang-unit-test/unit-test-process.cpp +++ b/tools/slang-unit-test/unit-test-process.cpp @@ -14,7 +14,7 @@ using namespace Slang; static SlangResult _createProcess(UnitTestContext* context, const char* toolName, const List* optArgs, RefPtr& outProcess) { CommandLine cmdLine; - cmdLine.setExecutable(context->executableDirectory, "test-process"); + cmdLine.setExecutableLocation(ExecutableLocation(context->executableDirectory, "test-process")); cmdLine.addArg(toolName); if (optArgs) { -- cgit v1.2.3