aboutsummaryrefslogtreecommitdiff
path: root/src/build_settings.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-03-14 18:01:31 +0000
committergingerBill <bill@gingerbill.org>2021-03-14 18:01:31 +0000
commit2aa588209e784274136b516224372fdd677d3e8f (patch)
treed7fb6dd1051e34cd039cd49cc6895e4e58391afc /src/build_settings.cpp
parent10f91a0d3f64902687683ac53dd286b25d3f7d5e (diff)
`odin test` to work with the new `core:testing` package
Diffstat (limited to 'src/build_settings.cpp')
-rw-r--r--src/build_settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build_settings.cpp b/src/build_settings.cpp
index 8ffc4955a..e1192eea5 100644
--- a/src/build_settings.cpp
+++ b/src/build_settings.cpp
@@ -365,8 +365,8 @@ bool is_excluded_target_filename(String name) {
return true;
}
- String test_suffix = str_lit("_test");
if (build_context.command_kind != Command_test) {
+ String test_suffix = str_lit("_test");
if (string_ends_with(name, test_suffix) && name != test_suffix) {
// Ignore *_test.odin files
return true;