make testdata: fail if a sha1 fails or is missing
Change-Id: Ia0b51165d260e283f5338f290a39718e462aed55
This commit is contained in:
1
libs.mk
1
libs.mk
@@ -410,6 +410,7 @@ $(LIBVPX_TEST_DATA): $(SRC_PATH_BARE)/test/test-data.sha1
|
|||||||
|
|
||||||
testdata:: $(LIBVPX_TEST_DATA)
|
testdata:: $(LIBVPX_TEST_DATA)
|
||||||
$(qexec)if [ -x "$$(which sha1sum)" ]; then\
|
$(qexec)if [ -x "$$(which sha1sum)" ]; then\
|
||||||
|
set -e;\
|
||||||
echo "Checking test data:";\
|
echo "Checking test data:";\
|
||||||
if [ -n "$(LIBVPX_TEST_DATA)" ]; then\
|
if [ -n "$(LIBVPX_TEST_DATA)" ]; then\
|
||||||
for f in $(call enabled,LIBVPX_TEST_DATA); do\
|
for f in $(call enabled,LIBVPX_TEST_DATA); do\
|
||||||
|
Reference in New Issue
Block a user