Fix tests/chez/chez017 test

This commit is contained in:
Kamil Shakirov 2020-05-15 16:03:34 +06:00
parent 02ce7b568d
commit 109feaaf2f
4 changed files with 7 additions and 1 deletions

2
tests/chez/chez017/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
/expected

View File

@ -1,7 +1,7 @@
File Exists
False
True
Just "/home/edwin/Research/Yaffle/tests/chez/chez017/testdir"
Just "__PWD__/testdir"
1/1: Building dir (dir.idr)
Main> Main> Bye for now!
hello

View File

@ -0,0 +1,3 @@
#!/usr/bin/env sh
sed -e "s|__PWD__|$(pwd)|g" expected.in > expected

View File

@ -1,3 +1,4 @@
./gen_expected.sh
$1 --no-banner dir.idr < input
cat testdir/test.txt
rm -rf build testdir