shithub: openh264

Download patch

ref: 73ccb74414346b98d35814e7f4e48dd7263b8477
parent: 2f53a08aba00895b3378cff1a3af44a7af53de22
author: Martin Storsjö <martin@martin.st>
date: Wed Jul 9 07:45:23 EDT 2014

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.

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