aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2025-03-13 17:25:04 +0100
committerBenoit Germain <benoit.germain@ubisoft.com>2025-03-13 17:25:04 +0100
commitc39cb92325ba7280dae175ec5a32a97d0668981e (patch)
treeb4a9f2fc2813fe12e5a1dc8d18d9d39601bf9601
parent24c8215fa05142cc2461efacc1187ef443450af9 (diff)
downloadlanes-c39cb92325ba7280dae175ec5a32a97d0668981e.tar.gz
lanes-c39cb92325ba7280dae175ec5a32a97d0668981e.tar.bz2
lanes-c39cb92325ba7280dae175ec5a32a97d0668981e.zip
Run a test after building the test executable
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7d6b2ce..0eb485f 100644
--- a/Makefile
+++ b/Makefile
@@ -55,8 +55,10 @@ _PREFIX := LUA_CPATH="./src/?.$(_SO)" LUA_PATH="./src/?.lua;./tests/?.lua"
55all: $(_LANES_TARGET) 55all: $(_LANES_TARGET)
56 56
57# build the unit_tests and the side deep_userdata_example module 57# build the unit_tests and the side deep_userdata_example module
58# also run the test that shows whether lanes is successfully loaded or not
58unit_tests: $(_UNITTEST_TARGET) $(_DUE_TARGET) 59unit_tests: $(_UNITTEST_TARGET) $(_DUE_TARGET)
59 cd deep_userdata_example && $(MAKE) -f DUE.makefile LUA_LIBDIR=$(LUA_LIBDIR) install 60 cd deep_userdata_example && $(MAKE) -f DUE.makefile LUA_LIBDIR=$(LUA_LIBDIR) install
61 $(_UNITTEST_TARGET) "lanes.require 'lanes'"
60 62
61#--- 63#---
62 64