test/test_examples: adapt for travis

This commit is contained in:
Florent Kermarrec 2019-08-31 14:55:14 +02:00
parent f678efa02b
commit a782eb5aa8
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ import os
def build_config(name): def build_config(name):
errors = 0 errors = 0
os.system("rm -rf examples/build") os.system("rm -rf examples/build")
os.system("cd examples && litedram_gen {}.yml".format(name)) os.system("cd examples && python3 ../litedram/gen.py {}.yml".format(name))
errors += not os.path.isfile("examples/build/gateware/litedram_core.v") errors += not os.path.isfile("examples/build/gateware/litedram_core.v")
os.system("rm -rf examples/build") os.system("rm -rf examples/build")
return errors return errors