From 2aa588209e784274136b516224372fdd677d3e8f Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sun, 14 Mar 2021 18:01:31 +0000 Subject: `odin test` to work with the new `core:testing` package --- src/build_settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/build_settings.cpp') 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; -- cgit v1.2.3