Make makefile work for shells that don't support <() Signed-off-by: Henner Zeller <h.zeller@acm.org>
diff --git a/Makefile_test.common b/Makefile_test.common index 3c9d0b3..b3e086f 100644 --- a/Makefile_test.common +++ b/Makefile_test.common
@@ -37,10 +37,11 @@ @echo "Running test $(1)" @set +e; \ cd $(1); \ - DESIGN_TOP=$(1) \ - TEST_OUTPUT_PREFIX=./ \ - yosys -c <(echo -e "source $(TEST_UTILS)\nsource $(1).tcl") -q -l $(1).log; \ + echo -e "source $(TEST_UTILS)\nsource $(1).tcl" > run-$(1).tcl ;\ + DESIGN_TOP=$(1) TEST_OUTPUT_PREFIX=./ \ + yosys -c "run-$(1).tcl" -q -l $(1).log; \ RETVAL=$$$$?; \ + rm -f run-$(1).tcl; \ if [ ! -z "$$($(1)_negative)" ] && [ $$($(1)_negative) -eq 1 ]; then \ if [ $$$$RETVAL -ne 0 ]; then \ echo "Negative test $(1) PASSED"; \