mirror of https://github.com/YosysHQ/yosys.git
Add tests for `select` command warnings.
This commit is contained in:
parent
5026f36250
commit
1b333d49ef
1
Makefile
1
Makefile
|
@ -716,6 +716,7 @@ test: $(TARGETS) $(EXTRA_TARGETS)
|
||||||
+cd tests/memories && bash run-test.sh $(ABCOPT) $(SEEDOPT)
|
+cd tests/memories && bash run-test.sh $(ABCOPT) $(SEEDOPT)
|
||||||
+cd tests/bram && bash run-test.sh $(SEEDOPT)
|
+cd tests/bram && bash run-test.sh $(SEEDOPT)
|
||||||
+cd tests/various && bash run-test.sh
|
+cd tests/various && bash run-test.sh
|
||||||
|
+cd tests/select && bash run-test.sh
|
||||||
+cd tests/sat && bash run-test.sh
|
+cd tests/sat && bash run-test.sh
|
||||||
+cd tests/svinterfaces && bash run-test.sh $(SEEDOPT)
|
+cd tests/svinterfaces && bash run-test.sh $(SEEDOPT)
|
||||||
+cd tests/svtypes && bash run-test.sh $(SEEDOPT)
|
+cd tests/svtypes && bash run-test.sh $(SEEDOPT)
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
logger -expect-no-warnings
|
||||||
|
select n:foo/bar*
|
||||||
|
select t:$assert
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
for x in *.ys; do
|
||||||
|
echo "Running $x.."
|
||||||
|
../../yosys -ql ${x%.ys}.log $x
|
||||||
|
done
|
|
@ -0,0 +1,3 @@
|
||||||
|
logger -expect warning "did not match any module." 1
|
||||||
|
logger -expect warning "did not match any object." 1
|
||||||
|
select foo/bar
|
Loading…
Reference in New Issue