summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/expand/test_harness.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/expand/test_harness.cpp b/src/expand/test_harness.cpp
index 204ca75e..f720cac7 100644
--- a/src/expand/test_harness.cpp
+++ b/src/expand/test_harness.cpp
@@ -81,6 +81,11 @@ void Expand_TestHarness(::AST::Crate& crate)
}
desc_vals.push_back({ {}, "should_panic", mv$(should_panic_val) });
}
+ if( TARGETVER_1_29 )
+ {
+ // TODO: Get this from attributes
+ desc_vals.push_back({ {}, "allow_fail", NEWNODE(_Bool, false) });
+ }
auto desc_expr = NEWNODE(_StructLiteral, ::AST::Path("test", { ::AST::PathNode("TestDesc")}), nullptr, mv$(desc_vals));
::AST::ExprNode_StructLiteral::t_values descandfn_vals;