From 62b1e58a72773fad43e555d7de1bfeaa3f5c6762 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Tue, 26 Oct 2021 21:42:11 -0400 Subject: Runs all gfx unit tests through a 'test proxy' (#1981) * #include an absolute path didn't work - because paths were taken to always be relative. * Support for test proxy. * Turn on testing using proxy. * Don't pass sink into check of downstream compiler. * Small change to kick off build. * Remove register specification on transcendental. * Increase poll timeout. Small improvements to proxy. * Disable gfx unit tests. * Put test runner in shared library mode by default. * Change comment. Kick off another CI test. * Small edit to kick off builds. * Run unit tests on proxy. * Turn on using proxy for now. * Enable swift shader. * Fix typo. Add exception support. * Make the default spwan type SharedLibrary Use isolation for gfx unit tests. * Update slang-binaries. * Fix typo. * Report unit test output information. --- tools/slang-test/options.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/slang-test/options.cpp') diff --git a/tools/slang-test/options.cpp b/tools/slang-test/options.cpp index fa7f332b0..d24ea83e2 100644 --- a/tools/slang-test/options.cpp +++ b/tools/slang-test/options.cpp @@ -125,9 +125,9 @@ static bool _isSubCommand(const char* arg) } optionsOut->binDir = *argCursor++; } - else if (strcmp(arg, "-useexes") == 0) + else if (strcmp(arg, "-use-test-proxy") == 0) { - optionsOut->useExes = true; + optionsOut->defaultSpawnType = SpawnType::UseProxy; } else if (strcmp(arg, "-v") == 0) { -- cgit v1.2.3