Only build the needed binaries in run_PrepareAllTestData.sh

Previously this did a full make, including all of gtest and the unit
test suite. This was done before every build, even for the binary
comparison tests which doesn't use the unit test.

This reduces the runtime of run_PrepareAllTestData.sh from 52 to 10
seconds in one setup.
This commit is contained in:
Martin Storsjö 2014-07-09 11:45:23 +03:00
parent 2f53a08aba
commit 73ccb74414

View File

@ -44,11 +44,11 @@ runBuildCodec()
if [ "${BitType}" -eq 64 ] if [ "${BitType}" -eq 64 ]
then then
make clean make clean
make -B ENABLE64BIT=Yes make -B ENABLE64BIT=Yes h264dec h264enc
elif [ "${BitType}" -eq 32 ] elif [ "${BitType}" -eq 32 ]
then then
make clean make clean
make -B ENABLE64BIT=No make -B ENABLE64BIT=No h264dec h264enc
else else
echo "usage: runBuildCodec \64/32 #bits" echo "usage: runBuildCodec \64/32 #bits"
exit 1 exit 1