mirror of
https://github.com/YosysHQ/sby.git
synced 2025-09-01 17:20:41 +00:00
More directory tests
Confirming that the changes to path handling didn't break anything. `~/` works locally, but I'm not sure how to actually include that as a test.
This commit is contained in:
parent
a215e3260a
commit
1d28294391
2 changed files with 27 additions and 0 deletions
17
tests/links/more_dirs.sby
Normal file
17
tests/links/more_dirs.sby
Normal file
|
@ -0,0 +1,17 @@
|
|||
[tasks]
|
||||
link
|
||||
copy
|
||||
|
||||
[options]
|
||||
mode prep
|
||||
|
||||
[engines]
|
||||
btor btormc
|
||||
|
||||
[script]
|
||||
read -noverific
|
||||
script dir/script.ys
|
||||
|
||||
[files]
|
||||
here/dir ${WORKDIR}/../dir
|
||||
a/b/c.v prv32fmcmp.v
|
10
tests/links/more_dirs.sh
Normal file
10
tests/links/more_dirs.sh
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
if [[ $TASK == link ]]; then
|
||||
flags="--setup --link"
|
||||
else
|
||||
flags="--setup"
|
||||
fi
|
||||
python3 $SBY_MAIN -f $SBY_FILE $TASK $flags
|
||||
|
||||
test -e ${WORKDIR}/src/here/dir -a -e ${WORKDIR}/src/a/b/c.v
|
Loading…
Add table
Add a link
Reference in a new issue