mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-17 04:50:29 +00:00
Testing quoted strings
This commit is contained in:
parent
5f6819fd76
commit
5c1dd0c5b2
7 changed files with 126 additions and 0 deletions
14
tests/scripts/space_in_name.ys
Executable file
14
tests/scripts/space_in_name.ys
Executable file
|
@ -0,0 +1,14 @@
|
|||
echo on
|
||||
|
||||
# pass
|
||||
test_args "quoted spaces"
|
||||
test_args escaped\ spaces
|
||||
test_args \"escaped quotes\"
|
||||
test_args "inner \"escaped quotes\""
|
||||
test_args -opt "some value here" -b "some other \"escaped value\""
|
||||
|
||||
# frontend/backend
|
||||
read_test_args -arg "inner \"escaped quotes\"" "file name.v" "file name.ys"
|
||||
write_test_args -arg "inner \"escaped quotes\"" "file name.out"
|
||||
read_test_args -arg no_quotes plugin.cc
|
||||
write_test_args -arg no_quotes
|
Loading…
Add table
Add a link
Reference in a new issue