Skip to content

Commit

Permalink
Do not try to run tests for langs without build.sh (such as lang/rust/)
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
  • Loading branch information
martin-g committed Oct 16, 2024
1 parent ac8b33b commit b981fba
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions share/docker/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ set -e

for lang in /avro/lang/*/
do
headline "Run tests: $lang"
cd "$lang"
./build.sh lint test
if [ -f "${lang}/build.sh" ]; then
headline "Run tests: $lang"
cd "$lang"
./build.sh lint test
fi
done

0 comments on commit b981fba

Please sign in to comment.