diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2021-10-26 21:42:11 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-26 18:42:11 -0700 |
| commit | 62b1e58a72773fad43e555d7de1bfeaa3f5c6762 (patch) | |
| tree | 89968e563e5f2f38377461c4fa3a3b72469b146a /source | |
| parent | dcc2b854a64b3e4e890215ff21cf4b219724f524 (diff) | |
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.
Diffstat (limited to 'source')
| -rw-r--r-- | source/core/unix/slang-unix-process-util.cpp | 4 | ||||
| -rw-r--r-- | source/slang/slang-check.cpp | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/source/core/unix/slang-unix-process-util.cpp b/source/core/unix/slang-unix-process-util.cpp index 24107fab3..af49eec37 100644 --- a/source/core/unix/slang-unix-process-util.cpp +++ b/source/core/unix/slang-unix-process-util.cpp @@ -146,9 +146,9 @@ namespace Slang { return SLANG_FAIL; } - // Set a timeout of twenty seconds; + // Set a timeout of 100 seconds; // we really shouldn't wait too long... - int pollTimeout = 20000; + int pollTimeout = 100000; int pollResult = poll(pollInfos, pollInfoCount, pollTimeout); if (pollResult <= 0) { diff --git a/source/slang/slang-check.cpp b/source/slang/slang-check.cpp index 74e30cf8d..e52baaa84 100644 --- a/source/slang/slang-check.cpp +++ b/source/slang/slang-check.cpp @@ -93,10 +93,10 @@ namespace Slang if (type == PassThroughMode::GenericCCpp) { // try testing for availability on all C/C++ compilers - getOrLoadDownstreamCompiler(PassThroughMode::Clang, sink); - getOrLoadDownstreamCompiler(PassThroughMode::Gcc, sink); - getOrLoadDownstreamCompiler(PassThroughMode::VisualStudio, sink); - getOrLoadDownstreamCompiler(PassThroughMode::LLVM, sink); + getOrLoadDownstreamCompiler(PassThroughMode::Clang, nullptr); + getOrLoadDownstreamCompiler(PassThroughMode::Gcc, nullptr); + getOrLoadDownstreamCompiler(PassThroughMode::VisualStudio, nullptr); + getOrLoadDownstreamCompiler(PassThroughMode::LLVM, nullptr); } // Mark that we have tried to load it |
