diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2025-03-13 17:25:04 +0100 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2025-03-13 17:25:04 +0100 |
commit | c39cb92325ba7280dae175ec5a32a97d0668981e (patch) | |
tree | b4a9f2fc2813fe12e5a1dc8d18d9d39601bf9601 | |
parent | 24c8215fa05142cc2461efacc1187ef443450af9 (diff) | |
download | lanes-c39cb92325ba7280dae175ec5a32a97d0668981e.tar.gz lanes-c39cb92325ba7280dae175ec5a32a97d0668981e.tar.bz2 lanes-c39cb92325ba7280dae175ec5a32a97d0668981e.zip |
Run a test after building the test executable
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -55,8 +55,10 @@ _PREFIX := LUA_CPATH="./src/?.$(_SO)" LUA_PATH="./src/?.lua;./tests/?.lua" | |||
55 | all: $(_LANES_TARGET) | 55 | all: $(_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 | ||
58 | unit_tests: $(_UNITTEST_TARGET) $(_DUE_TARGET) | 59 | unit_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 | ||