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") os.system("rm -rf build")
cmd = """\ cmd = """\
python3 -m litex_boards.targets.simple litex_boards.platforms.{} \ python3 -m litex_boards.targets.simple litex_boards.platforms.{} \
--no-compile-software \ --no-compile \
--no-compile-gateware \ --uart-name="stub" \
--uart-name="stub" \
""".format(name) """.format(name)
subprocess.check_call(cmd, shell=True) subprocess.check_call(cmd, shell=True)
@ -80,7 +79,6 @@ python3 -m litex_boards.targets.simple litex_boards.platforms.{} \
python3 -m litex_boards.targets.{} \ python3 -m litex_boards.targets.{} \
--cpu-type=vexriscv \ --cpu-type=vexriscv \
--cpu-variant=minimal \ --cpu-variant=minimal \
--no-compile-software \ --no-compile \
--no-compile-gateware \
""".format(name) """.format(name)
subprocess.check_call(cmd, shell=True) subprocess.check_call(cmd, shell=True)