diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2021-11-30 16:34:52 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-30 16:34:52 -0500 |
| commit | ace4e334bc5fb299d2890b5e3f35dfd84ea32606 (patch) | |
| tree | 9a18aa01dda4c8e8b7305bddfd7009fdb8e11a95 /tools/slang-test/options.h | |
| parent | dd18f2bff2abd13548742e30c25a31b9ea9a0cbd (diff) | |
Use test-server on CI (#2034)
* #include an absolute path didn't work - because paths were taken to always be relative.
* Vary what SpawnType is used, if one isn't explicitly set.
* Terminate on linux if exec fails.
* Use a more sophisticated sleeping mechanism.
* Attempt to make CI tests to work on aarch64 debug.
Small fixes.
Diffstat (limited to 'tools/slang-test/options.h')
| -rw-r--r-- | tools/slang-test/options.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/slang-test/options.h b/tools/slang-test/options.h index 3b62c903b..cf86bc901 100644 --- a/tools/slang-test/options.h +++ b/tools/slang-test/options.h @@ -38,7 +38,8 @@ protected: enum class SpawnType { - UseExe, + Default, ///< Default - typically uses shared library, on CI may use TestServer + UseExe, ///< Tests using executable (for example slangc) UseSharedLibrary, ///< Runs testing in process (a crash tan take down the UseTestServer, ///< Use the test server to isolate testing UseFullyIsolatedTestServer, ///< Uses a test server for each test (slow!) @@ -78,11 +79,9 @@ struct Options bool dumpOutputOnFailure = false; // Set the default spawn type to use - // Set to SpawnType::UseProxy, if isolation of test execution is desired. // Having tests isolated, slows down testing considerably, so using UseSharedLibrary is the most // desirable default usually. - SpawnType defaultSpawnType = SpawnType::UseSharedLibrary; - //SpawnType defaultSpawnType = SpawnType::UseProxy; + SpawnType defaultSpawnType = SpawnType::Default; // kind of output to generate TestOutputMode outputMode = TestOutputMode::Default; |
