3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-10-17 04:50:29 +00:00

Testing quoted strings

This commit is contained in:
Krystine Sherwin 2025-09-24 12:07:30 +12:00
parent 5f6819fd76
commit 5c1dd0c5b2
No known key found for this signature in database
7 changed files with 126 additions and 0 deletions

14
tests/scripts/space_in_name.ys Executable file
View 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