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:
parent
2f53a08aba
commit
73ccb74414
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user