mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Let -vet be used with -define:ODIN_TEST_NAMES
This commit is contained in:
@@ -198,8 +198,11 @@ runner :: proc(internal_tests: []Internal_Test) -> bool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// `-vet` needs parameters to be shadowed by themselves first as an
|
||||||
|
// explicit declaration, to allow the next line to work.
|
||||||
|
internal_tests := internal_tests
|
||||||
// Intentional shadow with user-specified tests.
|
// Intentional shadow with user-specified tests.
|
||||||
internal_tests := select_internal_tests[:]
|
internal_tests = select_internal_tests[:]
|
||||||
}
|
}
|
||||||
|
|
||||||
total_failure_count := 0
|
total_failure_count := 0
|
||||||
|
|||||||
Reference in New Issue
Block a user