From a66671268776d92232e6bde671666d93164af105 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Thu, 16 Apr 2026 11:04:14 +0200 Subject: [PATCH] Update arith_tree tests --- tests/Makefile | 1 + tests/arith_tree/generate_mk.py | 8 ++++++++ tests/arith_tree/run-test.sh | 7 ------- 3 files changed, 9 insertions(+), 7 deletions(-) create mode 100644 tests/arith_tree/generate_mk.py delete mode 100755 tests/arith_tree/run-test.sh diff --git a/tests/Makefile b/tests/Makefile index 077f11c41..794e99c46 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -49,6 +49,7 @@ MK_TEST_DIRS += ./verific endif endif MK_TEST_DIRS += ./verilog +MK_TEST_DIRS += ./arith_tree MK_TEST_DIRS += ./simple MK_TEST_DIRS += ./simple_abc9 MK_TEST_DIRS += ./hana diff --git a/tests/arith_tree/generate_mk.py b/tests/arith_tree/generate_mk.py new file mode 100644 index 000000000..6a921d5a0 --- /dev/null +++ b/tests/arith_tree/generate_mk.py @@ -0,0 +1,8 @@ +#!/usr/bin/env python3 + +import sys +sys.path.append("..") + +import gen_tests_makefile + +gen_tests_makefile.generate(["--yosys-scripts"]) diff --git a/tests/arith_tree/run-test.sh b/tests/arith_tree/run-test.sh deleted file mode 100755 index 2e3f5235c..000000000 --- a/tests/arith_tree/run-test.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env bash -source ../common-env.sh -set -e -for x in *.ys; do - echo "Running $x.." - ../../yosys -ql ${x%.ys}.log $x -done