From 73ccb74414346b98d35814e7f4e48dd7263b8477 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Wed, 9 Jul 2014 11:45:23 +0300 Subject: [PATCH] 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. --- test/encoder_binary_comparison/run_PrepareAllTestData.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/encoder_binary_comparison/run_PrepareAllTestData.sh b/test/encoder_binary_comparison/run_PrepareAllTestData.sh index 71fb1f3c..00e5d89f 100755 --- a/test/encoder_binary_comparison/run_PrepareAllTestData.sh +++ b/test/encoder_binary_comparison/run_PrepareAllTestData.sh @@ -44,11 +44,11 @@ runBuildCodec() 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