From fb54aec7c9f787b803ddc8d71192eab788e270be Mon Sep 17 00:00:00 2001 From: David Gonzalez Martin Date: Thu, 5 Jun 2025 04:08:12 -0600 Subject: [PATCH] Enable compiling tests in non-debug builds --- src/compiler.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/compiler.cpp b/src/compiler.cpp index 0544078..625dc05 100644 --- a/src/compiler.cpp +++ b/src/compiler.cpp @@ -599,7 +599,6 @@ void entry_point(Slice arguments, Slice envp) .silent = true, }); -#if BB_DEBUG == 0 || BB_CI == 0 for (auto name: names) { BuildMode build_mode = BuildMode::debug_none; @@ -621,14 +620,13 @@ void entry_point(Slice arguments, Slice envp) auto success = execution.termination_kind == TerminationKind::exit && execution.termination_code == 0; if (!success) { - print(string_literal("Self-hosted test failed: ")); + print(string_literal("Self-hosted test failed to compile: ")); print(name); print(string_literal("\n")); bb_fail(); } break; } -#endif } } } break;