From cb0a08b55f3d1be44b36fc4fc5f34405c2b1516e Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Fri, 24 Jul 2020 11:12:58 -0400 Subject: Test frame work improvements (#1452) * Add -hide-ignored Made API filter when enbled filter out non API tests. * Add ability to set categories at file level. Added wave, wave-mask and wave-active categories. * Added -api-only flag. * Don't synthesize tests from only CPU tests. Co-authored-by: Tim Foley --- tools/slang-test/options.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tools/slang-test/options.cpp') diff --git a/tools/slang-test/options.cpp b/tools/slang-test/options.cpp index 4c8108f4a..27b759a0e 100644 --- a/tools/slang-test/options.cpp +++ b/tools/slang-test/options.cpp @@ -133,6 +133,14 @@ static bool _isSubCommand(const char* arg) { optionsOut->shouldBeVerbose = true; } + else if (strcmp(arg, "-hide-ignored") == 0) + { + optionsOut->hideIgnored = true; + } + else if (strcmp(arg, "-api-only") == 0) + { + optionsOut->apiOnly = true; + } else if (strcmp(arg, "-verbose-paths") == 0) { optionsOut->verbosePaths = true; -- cgit v1.2.3