Killing process if tests fail in itest target

This commit is contained in:
Imbus 2024-04-04 23:24:38 +02:00
parent d65bbc897d
commit 7e88bd69c1

View file

@ -47,7 +47,7 @@ itest:
make build make build
./bin/$(PROC_NAME) >/dev/null 2>&1 & ./bin/$(PROC_NAME) >/dev/null 2>&1 &
sleep 1 # Adjust if needed sleep 1 # Adjust if needed
python ../testing/testing.py python ../testing/testing.py || pkill $(PROC_NAME)
pkill $(PROC_NAME) pkill $(PROC_NAME)
# Get dependencies target # Get dependencies target