ports/graphics/mapnik/patches/patch-test_run

19 lines
580 B
Text

find -quit is only in gfind
Index: test/run
--- test/run.orig
+++ test/run
@@ -29,13 +29,12 @@ if [ -d "test/data" ]; then
run_substep "Running standalone C++ tests..."
found_test=false
- if [ -n "$(find test/standalone/ -maxdepth 1 -name '*-bin' -print -quit)" ]; then
for FILE in test/standalone/*-bin; do
found_test=true
ran_a_test=true
${FILE} || failures=$((failures+$?))
done
- fi
+
if [[ $found_test == false ]]; then
run_warn "Skipping standalone tests since they were not built"
fi