diff options
| author | gingerBill <bill@gingerbill.org> | 2021-04-28 10:49:40 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-04-28 10:49:40 +0100 |
| commit | 102c29575b555deff1492fceca0ffdab8eb3812c (patch) | |
| tree | f32ec34fc3024653b8971ee5c0270708b9398113 /src/checker.cpp | |
| parent | 24fce21d9055ac4cd2124c0fe5396f430e99f24f (diff) | |
Allow @(test) to be ran outside of `*_test.odin` files
Diffstat (limited to 'src/checker.cpp')
| -rw-r--r-- | src/checker.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |