fixed build error if ghdl is not installed

This commit is contained in:
hneemann 2018-03-09 15:05:49 +01:00
parent 68178b1095
commit 76bd1d5d7f

View File

@ -44,7 +44,7 @@ public class TestInSimulator extends TestCase {
File examples = new File(Resources.getRoot(), "/dig/test/vhdl");
try {
int tested = new FileScanner(this::check).noOutput().scan(examples);
assertEquals(28, tested);
assertEquals(27, tested);
assertEquals(tested, testBenches);
} catch (FileScanner.SkipAllException e) {
// if ghdl is not installed its also ok