mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
utilize odin test -all-packages instead of (make/bat) scripts for running tests
This commit is contained in:
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