diff options
Diffstat (limited to 'src/expand/test_harness.cpp')
-rw-r--r-- | src/expand/test_harness.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/expand/test_harness.cpp b/src/expand/test_harness.cpp index 883bd2aa..12d32121 100644 --- a/src/expand/test_harness.cpp +++ b/src/expand/test_harness.cpp @@ -49,6 +49,10 @@ void Expand_TestHarness(::AST::Crate& crate) for(const auto& test : crate.m_tests) { + // HACK: Don't emit should_panic tests + if( test.panic_type != ::AST::TestDesc::ShouldPanic::No ) + continue ; + ::AST::ExprNode_StructLiteral::t_values desc_vals; // `name: "foo",` desc_vals.push_back( ::std::make_pair("name", NEWNODE(_CallPath, |