From 3d06dc028c75c7a67c6748fcfbc6f24d7bd94baf Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 22 May 2020 08:42:02 +0200 Subject: [PATCH] test/test_targets: update build_test. --- test/test_targets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_targets.py b/test/test_targets.py index ffbad23e..055954f1 100644 --- a/test/test_targets.py +++ b/test/test_targets.py @@ -18,9 +18,9 @@ def build_test(socs): errors = 0 for soc in socs: os.system("rm -rf build") - builder = Builder(soc, output_dir="./build", compile_software=False, compile_gateware=False) + builder = Builder(soc, compile_software=False, compile_gateware=False) builder.build() - errors += not os.path.isfile("./build/gateware/top.v") + errors += not os.path.isfile("build/{build_name}/gateware/{build_name}.v".format(build_name=soc.build_name)) os.system("rm -rf build") return errors -- 2.30.2