Skip to content

Commit

Permalink
test_lib.sh: use only one find
Browse files Browse the repository at this point in the history
  • Loading branch information
fblanqui committed May 3, 2024
1 parent 3eb58a2 commit 2c545d9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@ checkout_lib() {
if [ -d "$repo_path" ] ; then
rm -fr "$repo_path"
fi

git clone $1 $repo_path
}

test_lib() {
for f in $(find $1 -name *.lp) $(find $1 -name *.dk)
for f in $(find $1 -name '*.lp' -o -name '*.dk')
do
echo lambdapi check $options $f ...
$lambdapi "$f" > $out 2>&1 || (cat $out; exit 1)
Expand Down

0 comments on commit 2c545d9

Please sign in to comment.