summaryrefslogtreecommitdiff
path: root/test/test_verilog_verilator_options.vader
diff options
context:
space:
mode:
authorTarik Graba <tarikgraba@users.noreply.github.com>2021-02-11 20:35:25 +0100
committerGitHub <noreply@github.com>2021-02-11 19:35:25 +0000
commitea72d66b6d4e3f0dc04d12fba08fe29e7e637b72 (patch)
tree34d8a89480492bb36a55d55c73d860a2225b7421 /test/test_verilog_verilator_options.vader
parent1773a496ad39fdd3d904679955b39357f3f38442 (diff)
downloadale-ea72d66b6d4e3f0dc04d12fba08fe29e7e637b72.zip
Verilator current file search path (#3500)
* Simplify verilator linter using ale command format strings * Verilator Linter: Restructure linter command tests * Verilator Linter: adds to the handler test the returned filename * Verilator Linter: add the current file path to the search path * Verilator Linter: Add the search path to the tests Co-authored-by: TG <tarik.graba@telecom-paris.fr>
Diffstat (limited to 'test/test_verilog_verilator_options.vader')
-rw-r--r--test/test_verilog_verilator_options.vader24
1 files changed, 0 insertions, 24 deletions
diff --git a/test/test_verilog_verilator_options.vader b/test/test_verilog_verilator_options.vader
deleted file mode 100644
index 3ebabfcc..00000000
--- a/test/test_verilog_verilator_options.vader
+++ /dev/null
@@ -1,24 +0,0 @@
-Before:
- Save g:ale_verilog_verilator_options
- let g:ale_verilog_verilator_options = ''
-
-After:
- Restore
- call ale#linter#Reset()
-
-Execute(Set Verilog Verilator linter additional options to `-sv --default-language "1800-2012"`):
- runtime! ale_linters/verilog/verilator.vim
-
- " Additional args for the linter
- let g:ale_verilog_verilator_options = '-sv --default-language "1800-2012"'
-
- call ale#Queue(0)
-
- let g:run_cmd = ale_linters#verilog#verilator#GetCommand(bufnr(''))
- let g:matched = match(g:run_cmd, '\s' . g:ale_verilog_verilator_options . '\s')
-
- " match returns -1 if not found
- AssertNotEqual
- \ g:matched ,
- \ -1 ,
- \ 'Additionnal arguments not found in the run command'