3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-09-06 01:48:06 +00:00

Add a test for interfaces on modules loaded on-demand

This commit is contained in:
Rupert Swarbrick 2021-07-14 17:27:13 +01:00 committed by Zachary Snow
parent 7d50b83322
commit 1aab608cff
5 changed files with 48 additions and 2 deletions

View file

@ -0,0 +1,15 @@
#!/bin/bash
# Run a simple test with a .ys file
if [ $# != 1 ]; then
echo >&2 "Expected 1 argument"
exit 1
fi
echo -n "Test: $1 ->"
../../yosys $1.ys >$1.log_stdout 2>$1.log_stderr || {
echo "ERROR!"
exit 1
}
echo "ok"