utilize odin test -all-packages instead of (make/bat) scripts for running tests

This commit is contained in:
Laytan Laats
2024-06-07 15:50:00 +02:00
parent 68781f8dd3
commit 0a528777e8
26 changed files with 130 additions and 505 deletions
-10
View File
@@ -1,10 +0,0 @@
ODIN=../../odin
ODINFLAGS=
OS=$(shell uname)
ifeq ($(OS), OpenBSD)
ODINFLAGS:=$(ODINFLAGS) -extra-linker-flags:-L/usr/local/lib
endif
all:
+3
View File
@@ -0,0 +1,3 @@
package tests_vendor
@(require) import "glfw"
-8
View File
@@ -1,8 +0,0 @@
@echo off
set COMMON=-show-timings -no-bounds-check -vet -strict-style -define:ODIN_TEST_FANCY=false
set PATH_TO_ODIN==..\..\odin
echo ---
echo Running vendor:glfw tests
echo ---
%PATH_TO_ODIN% test glfw %COMMON% -out:vendor_glfw.exe || exit /b
+1
View File
@@ -1,3 +1,4 @@
//+build darwin, windows
package test_vendor_glfw
import "core:testing"