aboutsummaryrefslogtreecommitdiffstats
path: root/tests/select/warn_empty_select_arg.ys
diff options
context:
space:
mode:
authorN. Engelhardt <nak@symbioticeda.com>2020-03-23 20:14:13 +0100
committerGitHub <noreply@github.com>2020-03-23 20:14:13 +0100
commit3e46faa58c86fb85ee722abcaef5588f76bde564 (patch)
treef878ffba2caef7b63fca94a69b3102bb562a7d7d /tests/select/warn_empty_select_arg.ys
parentb86905d9523767bccc9224ce33a0b51265e4950c (diff)
parent0da65d498b9f18ce0c09eedc19f16db2390e6dcb (diff)
downloadyosys-3e46faa58c86fb85ee722abcaef5588f76bde564.tar.gz
yosys-3e46faa58c86fb85ee722abcaef5588f76bde564.tar.bz2
yosys-3e46faa58c86fb85ee722abcaef5588f76bde564.zip
Merge pull request #1763 from boqwxp/issue1762
Closes #1762. Adds warnings for `select` arguments not matching any object and for `add` command when no modules selected
Diffstat (limited to 'tests/select/warn_empty_select_arg.ys')
-rw-r--r--tests/select/warn_empty_select_arg.ys3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/select/warn_empty_select_arg.ys b/tests/select/warn_empty_select_arg.ys
new file mode 100644
index 000000000..55aca8eb6
--- /dev/null
+++ b/tests/select/warn_empty_select_arg.ys
@@ -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