From 102c29575b555deff1492fceca0ffdab8eb3812c Mon Sep 17 00:00:00 2001 From: gingerBill Date: Wed, 28 Apr 2021 10:49:40 +0100 Subject: [PATCH] Allow @(test) to be ran outside of `*_test.odin` files --- src/checker.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/checker.cpp b/src/checker.cpp index eaf3b5322..523d2c297 100644 --- a/src/checker.cpp +++ b/src/checker.cpp @@ -1873,7 +1873,8 @@ void generate_minimum_dependency_set(Checker *c, Entity *start) { continue; } - if (e->file == nullptr || !e->file->is_test) { + // if (e->file == nullptr || !e->file->is_test) { + if (e->file == nullptr) { continue; }