From 0b0e3ac1dd5b604a06cb88fabf1ac77cdfe73106 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 24 Sep 2018 02:01:47 +0200 Subject: [PATCH] test/test_targets: test simple design with all platforms --- test/test_targets.py | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/test/test_targets.py b/test/test_targets.py index 37c174b6..615e5448 100644 --- a/test/test_targets.py +++ b/test/test_targets.py @@ -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") -- 2.30.2