test/test_targets: Add --build to generate files.
This commit is contained in:
parent
b61c471058
commit
9f5ca1b1d6
|
@ -56,6 +56,7 @@ 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.{} \
|
||||||
|
--build \
|
||||||
--no-compile \
|
--no-compile \
|
||||||
--uart-name="stub" \
|
--uart-name="stub" \
|
||||||
""".format(name)
|
""".format(name)
|
||||||
|
@ -79,6 +80,7 @@ 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 \
|
||||||
|
--build \
|
||||||
--no-compile \
|
--no-compile \
|
||||||
""".format(name)
|
""".format(name)
|
||||||
subprocess.check_call(cmd, shell=True)
|
subprocess.check_call(cmd, shell=True)
|
||||||
|
|
Loading…
Reference in New Issue