summaryrefslogtreecommitdiff
path: root/test/linter/test_iverilog.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/linter/test_iverilog.vader')
-rw-r--r--test/linter/test_iverilog.vader14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/linter/test_iverilog.vader b/test/linter/test_iverilog.vader
new file mode 100644
index 00000000..d7a29f05
--- /dev/null
+++ b/test/linter/test_iverilog.vader
@@ -0,0 +1,14 @@
+Before:
+ call ale#assert#SetUpLinterTest('verilog', 'iverilog')
+
+After:
+ call ale#assert#TearDownLinterTest()
+
+Execute(The default iverilog command should be correct):
+ AssertLinter 'iverilog', 'iverilog -t null -Wall %t'
+
+Execute(iverilog options should be configurable):
+ " Additional args for the linter
+ let g:ale_verilog_iverilog_options = '-y.'
+
+ AssertLinter 'iverilog', 'iverilog -t null -Wall -y. %t'