Add the ability to ignore tests on a per-target basis

This commit is contained in:
Sam Harwell 2015-06-06 14:30:54 -05:00
parent 80a881e132
commit 2f99ca7453
1 changed files with 6 additions and 0 deletions

View File

@ -57,6 +57,8 @@ testAnnotations(test) ::= <%
@Test
<if(test.Options.("Ignore"))>
<\n>@Ignore(<writeStringLiteral(test.Options.("Ignore"))>)
<elseif(IgnoredTests.(({<file.name>.<test.name>})))>
<\n>@Ignore(<writeStringLiteral(IgnoredTests.(({<file.name>.<test.name>})))>)
<endif>
%>
@ -391,6 +393,10 @@ Declare_pred() ::= <<boolean pred(boolean v) {
Invoke_pred(v) ::= <<this.pred(<v>)>>
IgnoredTests ::= [
default: false
]
isEmpty ::= [
"": true,
default: false