diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2018-12-21 09:28:05 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-21 09:28:05 -0500 |
| commit | b5bda9b3d155234be079debe6997cbc900773cf2 (patch) | |
| tree | 9a3dc1e026dd906f280f6172a3dfc9d2481bed68 /tools/slang-test/options.h | |
| parent | 02e44bade6370309c0292e84178095c2bae299be (diff) | |
* Made 'sub command' git-like - with parameters before going to slang-test and after going to the tool (#764)
* Document some of the changes to command line invocation
* Make -v option display the effective command that is being used to run the test
Diffstat (limited to 'tools/slang-test/options.h')
| -rw-r--r-- | tools/slang-test/options.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/slang-test/options.h b/tools/slang-test/options.h index ccbd9aede..4858ffd03 100644 --- a/tools/slang-test/options.h +++ b/tools/slang-test/options.h @@ -43,7 +43,7 @@ struct Options // Directory to use when looking for binaries to run char const* binDir = ""; - // only run test cases with names that have this prefix + // only run test cases with names that have this prefix. char const* testPrefix = nullptr; // generate extra output (notably: command lines we run) @@ -72,6 +72,12 @@ struct Options // By default we can test against all apis RenderApiFlags enabledApis = RenderApiFlag::AllOf; + // The subCommand to execute. Will be empty if there is no subCommand + Slang::String subCommand; + + // Arguments to the sub command. Note that if there is a subCommand the first parameter is always the subCommand itself. + Slang::List<Slang::String> subCommandArgs; + // By default we potentially synthesize test for all // TODO: Vulkan is disabled by default for now as the majority as vulkan synthesized tests fail RenderApiFlags synthesizedTestApis = RenderApiFlag::AllOf & ~RenderApiFlag::Vulkan; |
