summaryrefslogtreecommitdiffstats
path: root/tests/diagnostics/attribute-error.slang
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2019-04-02 09:22:13 -0400
committerGitHub <noreply@github.com>2019-04-02 09:22:13 -0400
commit2896aa39a529a00673a30ef4a9c3ebe76f401fea (patch)
tree3db2c41af598b3285c5313055d90dbf1a5cc06b6 /tests/diagnostics/attribute-error.slang
parentc21bffecd9da150576f62ecf8a73a1660717abe9 (diff)
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.
Diffstat (limited to 'tests/diagnostics/attribute-error.slang')
-rw-r--r--tests/diagnostics/attribute-error.slang2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/diagnostics/attribute-error.slang b/tests/diagnostics/attribute-error.slang
index b913d3d4a..9cc24437a 100644
--- a/tests/diagnostics/attribute-error.slang
+++ b/tests/diagnostics/attribute-error.slang
@@ -2,7 +2,7 @@
// Tests reflection of user defined attributes.
-//TEST:REFLECTION:-stage compute -entry main -target hlsl
+//DIAGNOSTIC_TEST:REFLECTION:-stage compute -entry main -target hlsl
[__AttributeUsage(_AttributeTargets.Struct)]
struct MyStructAttribute