Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-and-itasks
sapl-interpreter
Commits
fe9e474e
Commit
fe9e474e
authored
Aug 31, 2015
by
Jurriën Stutterheim
Browse files
Add test.sh
parent
cd113baf
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test.sh
0 → 100755
View file @
fe9e474e
#!/bin/bash
for
filenm
in
$(
ls
*
.sapl
)
;
do
lhs
=
${
filenm
%%.*
}
bsapl
=
"
$lhs
.bsapl"
out
=
"
$lhs
.out"
exp
=
"
$lhs
.exp"
if
[
-e
"
$bsapl
"
]
then
rm
-f
$bsapl
fi
if
[
-e
"
$out
"
]
then
rm
-f
$out
fi
`
pwd
`
/../precompiler/precompiler.exe
$filenm
$bsapl
`
pwd
`
/../interpreter/main
$bsapl
>
$out
diff
$exp
$out
>
/dev/null
||
echo
"
$filenm
different"
done
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment