test/test_targets: Use new --no-compile instead of --no-compile-software/--no-compile-gateware.

This commit is contained in:
Florent Kermarrec 2022-04-21 12:31:31 +02:00
parent 88f2625c3d
commit d6696f666b
1 changed files with 3 additions and 5 deletions

View File

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