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. --- tests/diagnostics/command-line/profile-ignored.slang | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/diagnostics/command-line/profile-ignored.slang') diff --git a/tests/diagnostics/command-line/profile-ignored.slang b/tests/diagnostics/command-line/profile-ignored.slang index 8a6590690..8c5a3de11 100644 --- a/tests/diagnostics/command-line/profile-ignored.slang +++ b/tests/diagnostics/command-line/profile-ignored.slang @@ -5,10 +5,10 @@ // Case 1: multiple (conflicting) profiles, so we can't infer a single stage // -//TEST:SIMPLE:-profile sm_5_0 -profile glsl_450 +//DIAGNOSTIC_TEST:SIMPLE:-profile sm_5_0 -profile glsl_450 // Case 2: a `-profile` option before any `-target`, possibly because // the user is specifying things in the wrong order. // -//TEST:SIMPLE:-profile sm_5_0 -target dxbc -profile glsl_450 -target spirv +//DIAGNOSTIC_TEST:SIMPLE:-profile sm_5_0 -target dxbc -profile glsl_450 -target spirv -- cgit v1.2.3