Browse Source

Allow @(test) to be ran outside of `*_test.odin` files

gingerBill 4 years ago
parent
commit
102c29575b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/checker.cpp

+ 2 - 1
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;
 			}