feat: Complete stream extraction
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
Also implements ++ string concatenation operator. Resolves #7, #18.
This commit is contained in:
parent
7c69b82484
commit
f827c37baa
8 changed files with 58 additions and 13 deletions
|
@ -9,8 +9,14 @@ diffed=0
|
|||
for dir in tests/extracted/*; do
|
||||
for file in $dir/*.$ext; do
|
||||
((total++))
|
||||
$command $file > $file.out
|
||||
if [[ $? -ne 0 ]]; then
|
||||
if [[ -f ${file%.*}.in ]]; then
|
||||
cat ${file%.*}.in | $command $file > $file.out
|
||||
result=$?
|
||||
else
|
||||
$command $file > $file.out
|
||||
result=$?
|
||||
fi
|
||||
if [[ $result -ne 0 ]]; then
|
||||
echo ERROR: $command $file failed.
|
||||
((failed++))
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue