summaryrefslogtreecommitdiff
path: root/main/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main/main.cpp')
-rw-r--r--main/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/main/main.cpp b/main/main.cpp
index 5de5c52b14..bff7633188 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -1457,12 +1457,11 @@ bool Main::start() {
};
if (test != "") {
-#ifdef DEBUG_ENABLED
+#ifdef TOOLS_ENABLED
main_loop = test_main(test, args);
if (!main_loop)
return false;
-
#endif
} else if (script != "") {