From 2896aa39a529a00673a30ef4a9c3ebe76f401fea Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Tue, 2 Apr 2019 09:22:13 -0400 Subject: Feature/test improvements (#934) * First pass extract the test information by 'running tests'. * * Checking renderer availablilty * Using TestInfo to determine which tests are run and synthesized * Display if test is synthesized and what render api it's targetting * * Improved comments * Removed some dead code * Display ignored tests. * TestInfo -> TestRequirements * * Added DIAGNOSTIC_TEST type - test always runs (ie has no requirements). * Made diagnostic tests use DIAGNOSTIC_TEST * TestInfo -> TestRequirements * TestDetails holds TestRequirements and TestOptions * Fix debug typo. --- tools/render-test/options.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools/render-test/options.cpp') diff --git a/tools/render-test/options.cpp b/tools/render-test/options.cpp index 9d5ff35c8..2277a6ad7 100644 --- a/tools/render-test/options.cpp +++ b/tools/render-test/options.cpp @@ -151,6 +151,10 @@ SlangResult parseOptions(int argc, const char*const* argv, Slang::WriterHelper s { gOptions.useDXIL = true; } + else if (strcmp(arg, "-only-startup") == 0) + { + gOptions.onlyStartup = true; + } else if (strcmp(arg, "-adapter") == 0) { if (argCursor == argEnd) -- cgit v1.2.3