From 973db262f97f11f35ce0af5a8448260934023836 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20M=C3=A6hlum?= Date: Thu, 25 Jan 2024 19:40:35 +0100 Subject: [PATCH] More fixes. --- makefile | 1 + verilator.mk | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index f44ac83..6c49a92 100644 --- a/makefile +++ b/makefile @@ -4,6 +4,7 @@ TEST_FOLDERS := $(subst makefile,, $(MAKEFILESS)) all: run run: + set -e && \ for test in $(TEST_FOLDERS) ; do \ make -C $$test all ; \ done diff --git a/verilator.mk b/verilator.mk index 4b5f053..b63992b 100644 --- a/verilator.mk +++ b/verilator.mk @@ -18,7 +18,8 @@ run: $(VERILATOR_EXE) @mkfifo named_pipe @tee output.txt < named_pipe & @./$(VERILATOR_EXE) > named_pipe; ./$(PARSER) $(PROJECT_NAME) $$? output.txt + @rm named_pipe clean: - rm -rf obj_dir - + @rm -rf obj_dir + @rm -f named_pipe