History

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.

Martin Storsjö committed 12 years ago

Commit 73ccb741 parent 2f53a081 file · +2 −2Browse files

Showing the changes to test/encoder_binary_comparison (1 of 1 file). Show all

Unified · Split

test/encoder_binary_comparison/run_PrepareAllTestData.sh+2−2
@@ -44,11 +44,11 @@ runBuildCodec() · 43 unmodified lines
44 if [ "${BitType}" -eq 64 ]44 if [ "${BitType}" -eq 64 ]
45 then45 then
46 make clean46 make clean
47 make -B ENABLE64BIT=Yes47 make -B ENABLE64BIT=Yes h264dec h264enc
48 elif [ "${BitType}" -eq 32 ]48 elif [ "${BitType}" -eq 32 ]
49 then49 then
50 make clean50 make clean
51 make -B ENABLE64BIT=No51 make -B ENABLE64BIT=No h264dec h264enc
52 else52 else
53 echo "usage: runBuildCodec \64/32 #bits"53 echo "usage: runBuildCodec \64/32 #bits"
54 exit 154 exit 1

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t