test/test_targets: test simple design with all platforms

This commit is contained in:
Florent Kermarrec 2018-09-24 02:01:47 +02:00
parent c88029d330
commit 0b0e3ac1dd
1 changed files with 27 additions and 0 deletions

View File

@ -57,3 +57,30 @@ class TestTargets(unittest.TestCase):
# lattice boards
# build simple design for all platforms
def test_simple(self):
platforms = [
"arty",
"arty_s7",
"de0nano",
"genesys2",
"icestick",
"kc705",
"kcu105",
"machxo3",
"mercury",
"mimasv2",
"minispartan6",
"nexys4ddr",
"nexys_video",
"papilio_pro",
"tinyfpga_b",
"tinyfpga_bx",
"versa",
"versaecp55g"
]
for p in platforms:
os.system("litex_simple litex.boards.platforms." + p +
" --no-compile-software " +
" --no-compile-gateware " +
" --uart-stub=True")