diff --git a/makefile b/makefile
index 7be3e99c1c56c672e08040df9e3451d50b4c15be..8600751ddb62c41d7ce358e28104a95f5c879628 100644
--- a/makefile
+++ b/makefile
@@ -137,7 +137,7 @@ release build-release:
 	    cp $$dir/bin-release/* $(addsuffix -release, $(BINFOLDER)); \
 	done
 	if [ "$@" == "release" ] && [ $(RUN_TESTS) -eq 1 ]; then for test in $(wildcard tests.*.sh); do \
-		./$$test debug $(JOBS); \
+		./$$test release $(JOBS); \
 	done; fi
 
 clean: clean-debug clean-release