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
Vendored
-10
@@ -1,10 +0,0 @@
|
||||
ODIN=../../odin
|
||||
ODINFLAGS=
|
||||
|
||||
OS=$(shell uname)
|
||||
|
||||
ifeq ($(OS), OpenBSD)
|
||||
ODINFLAGS:=$(ODINFLAGS) -extra-linker-flags:-L/usr/local/lib
|
||||
endif
|
||||
|
||||
all:
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package tests_vendor
|
||||
|
||||
@(require) import "glfw"
|
||||
Vendored
-8
@@ -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
@@ -1,3 +1,4 @@
|
||||
//+build darwin, windows
|
||||
package test_vendor_glfw
|
||||
|
||||
import "core:testing"
|
||||
|
||||
Reference in new issue
Block a user