From: Florent Kermarrec Date: Fri, 22 May 2020 06:42:02 +0000 (+0200) Subject: test/test_targets: update build_test. X-Git-Tag: 24jan2021_ls180~305 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3d06dc028c75c7a67c6748fcfbc6f24d7bd94baf;p=litex.git test/test_targets: update build_test. --- 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