test/test_targets: Add --build to generate files.

This commit is contained in:
Florent Kermarrec 2022-06-29 09:41:57 +02:00
parent b61c471058
commit 9f5ca1b1d6
1 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,7 @@ class TestTargets(unittest.TestCase):
os.system("rm -rf build")
cmd = """\
python3 -m litex_boards.targets.simple litex_boards.platforms.{} \
--build \
--no-compile \
--uart-name="stub" \
""".format(name)
@ -79,6 +80,7 @@ python3 -m litex_boards.targets.simple litex_boards.platforms.{} \
python3 -m litex_boards.targets.{} \
--cpu-type=vexriscv \
--cpu-variant=minimal \
--build \
--no-compile \
""".format(name)
subprocess.check_call(cmd, shell=True)