utilize odin test -all-packages instead of (make/bat) scripts for running tests
This commit is contained in:
1 parent
68781f8dd3
commit
0a528777e8
26 files changed
+130
-505
No files matched your search
@@ -1,10 +0,0 @@
|
||||
// Tests that Odin run returns exit code of built executable on Unix
|
||||
// Needs exit status to be inverted to return 0 on success, e.g.
|
||||
// $(./odin run tests/core/os/test_core_os_exit.odin && exit 1 || exit 0)
|
||||
package test_core_os_exit
|
||||
|
||||
import "core:os"
|
||||
|
||||
main :: proc() {
|
||||
os.exit(1)
|
||||
}
|
||||
Reference in new issue
Block a user