mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
added libraries: opus flac libsndfile updated: libvorbis libogg openal - Everything works as expected for now. Bare in mind libsndfile needed the check for whether or not it could find the xiph libraries removed in order for this to work.
29 lines
549 B
Bash
29 lines
549 B
Bash
#!/bin/sh
|
|
|
|
tarball=`realpath "$1"`
|
|
nb_tests="$2"
|
|
oldvectors=`realpath "$3"`
|
|
newvectors=`realpath "$4"`
|
|
base=`basename "$tarball" .tar.gz`
|
|
|
|
tar xvf "$tarball" > /dev/null 2>&1
|
|
cd "$base"
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
echo cannot go to "$base"
|
|
exit 1
|
|
fi
|
|
|
|
mkdir build_tests
|
|
|
|
configure_dir=`pwd`
|
|
seq -w "$nb_tests" | parallel --halt now,fail=10 -j +2 -q ../random_config.sh "build_tests/run_{}" "$configure_dir" "$oldvectors" "$newvectors"
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
echo Check found errors
|
|
exit 1
|
|
else
|
|
echo No error found
|
|
fi
|