general: Add possibility to build/run StatusQ tests via make
This commit is contained in:
parent
dfb76cfa87
commit
51fd567c82
21
Makefile
21
Makefile
|
@ -40,6 +40,8 @@ BUILD_SYSTEM_DIR := vendor/nimbus-build-system
|
||||||
status-keycard-go \
|
status-keycard-go \
|
||||||
statusq-sanity-checker \
|
statusq-sanity-checker \
|
||||||
run-statusq-sanity-checker \
|
run-statusq-sanity-checker \
|
||||||
|
statusq-tests \
|
||||||
|
run-statusq-tests \
|
||||||
update
|
update
|
||||||
|
|
||||||
ifeq ($(NIM_PARAMS),)
|
ifeq ($(NIM_PARAMS),)
|
||||||
|
@ -301,6 +303,25 @@ run-statusq-sanity-checker: statusq-sanity-checker
|
||||||
echo -e "\033[92mRunning:\033[39m StatusQ SanityChecker"
|
echo -e "\033[92mRunning:\033[39m StatusQ SanityChecker"
|
||||||
$(STATUSQ_BUILD_PATH)/bin/SanityChecker
|
$(STATUSQ_BUILD_PATH)/bin/SanityChecker
|
||||||
|
|
||||||
|
statusq-tests:
|
||||||
|
echo -e "\033[92mConfiguring:\033[39m StatusQ Unit Tests"
|
||||||
|
cmake \
|
||||||
|
-DSTATUSQ_BUILD_SANDBOX=OFF \
|
||||||
|
-DSTATUSQ_BUILD_SANITY_CHECKER=OFF \
|
||||||
|
-DSTATUSQ_BUILD_TESTS=ON \
|
||||||
|
-B $(STATUSQ_BUILD_PATH) \
|
||||||
|
-S $(STATUSQ_SOURCE_PATH) \
|
||||||
|
$(HANDLE_OUTPUT)
|
||||||
|
echo -e "\033[92mBuilding:\033[39m StatusQ Unit Tests"
|
||||||
|
cmake \
|
||||||
|
--build $(STATUSQ_BUILD_PATH) \
|
||||||
|
--target TestStatusQ \
|
||||||
|
$(HANDLE_OUTPUT)
|
||||||
|
|
||||||
|
run-statusq-tests: statusq-tests
|
||||||
|
echo -e "\033[92mRunning:\033[39m StatusQ Unit Tests"
|
||||||
|
$(STATUSQ_BUILD_PATH)/bin/TestStatusQ
|
||||||
|
|
||||||
##
|
##
|
||||||
## DOtherSide
|
## DOtherSide
|
||||||
##
|
##
|
||||||
|
|
Loading…
Reference in New Issue