mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-05-12 13:37:05 +03:00
build: add test target
This commit is contained in:
parent
fe7e59b4f0
commit
03360f50f1
1 changed files with 13 additions and 1 deletions
14
Makefile
14
Makefile
|
@ -28,4 +28,16 @@ clean:
|
||||||
lint:
|
lint:
|
||||||
clang-format -i **/*.c **/*.h
|
clang-format -i **/*.c **/*.h
|
||||||
|
|
||||||
.PHONY: debug release docker clean lint
|
test_base:
|
||||||
|
cp build/*.exe test/
|
||||||
|
cp build/*.dll test/
|
||||||
|
ln -rsft test/ bin/*
|
||||||
|
rm -f test/Winplay.dll
|
||||||
|
|
||||||
|
test: build test_base
|
||||||
|
WINEARCH=win32 MESA_GL_VERSION_OVERRIDE=3.3 wine test/Tomb1Main.exe
|
||||||
|
|
||||||
|
test_gold: build test_base
|
||||||
|
WINEARCH=win32 MESA_GL_VERSION_OVERRIDE=3.3 wine test/Tomb1Main.exe -gold
|
||||||
|
|
||||||
|
.PHONY: debug release docker clean lint test_base test test_gold
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue