cgal/Surface_mesh_parameterization/examples/Surface_mesh_parameterization/test_all.sh

33 lines
938 B
Bash
Executable File

#!/bin/bash
# Intensive test: test all surface parameterization methods with all models in data folder
./test_model.sh cube
./test_model.sh holes
./test_model.sh mannequin-devil
./test_model.sh mask_cone
./test_model.sh nefertiti
./test_model.sh rotor
./test_model.sh sphere966
./test_model.sh three_peaks
echo "***************************************************************"
for TST in Authalic_parameterization \
Simple_parameterization \
Taucs_parameterization \
Mesh_cutting_parameterization \
Square_border_parameterization \
Complete_parameterization_example \
polyhedron_ex_parameterization
do
echo " "
echo "*** $TST ***"
# Find executable name (different on Windows and Unix)
[ -f ./release/$TST.exe ] && PARAM_APPLICATION="./release/$TST.exe"
[ -x ./$TST ] && PARAM_APPLICATION="./$TST"
$PARAM_APPLICATION `cat $TST.cmd` 2>&1
done