From 84bc75df120e12b640c3a5a86b61aee19296cafe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20=C4=8C=C3=AD=C5=BE?= Date: Sat, 24 Oct 2020 22:41:31 +0200 Subject: [PATCH] Update tests --- make.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/make.sh b/make.sh index 8ad55ff..940624b 100755 --- a/make.sh +++ b/make.sh @@ -49,6 +49,15 @@ elif [ $1 == "terminal" ]; then echo ${COMMAND} ${COMMAND} && sudo ./anarch +elif [ $1 == "test" ]; then + # test build, requires: + # - g++ + + COMMAND="${COMPILER} ${C_FLAGS} main_test.c" + + echo ${COMMAND} + + ${COMMAND} && ./anarch elif [ $1 == "pokitto" ]; then # Pokitto build, requires: # - PokittoLib, in this folder create a symlink named "PokittoLib" to the