[gstreamermm] tests: fix tests build
- From: Marcin Kolny <mkolny src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gstreamermm] tests: fix tests build
- Date: Thu, 15 Oct 2015 17:45:09 +0000 (UTC)
commit 078e3437ed4a94594ebc11dc8f0a8abcbf7fc572
Author: Marcin Kolny <marcin kolny gmail com>
Date: Thu Oct 15 19:43:42 2015 +0200
tests: fix tests build
* tests/Makefile.am: downloaded gtest zip archive wasn't unzipped
before compilation, so it's fixed now.
tests/Makefile.am | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index dec6d7a..0202d5e 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -63,7 +63,7 @@ TESTS = $(check_PROGRAMS)
TEST_GTEST_SOURCES = main.cc gtest/gtest-1.7.0/src/gtest-all.cc
TEST_REGRESSION_UTILS = regression/utils.cc
-$(TEST_GTEST_SOURCES): gtest
+$(TEST_GTEST_SOURCES): gtest.zip
test_allocator_SOURCES = $(TEST_GTEST_SOURCES) test-allocator.cc
test_atomicqueue_SOURCES = $(TEST_GTEST_SOURCES) test-atomicqueue.cc
@@ -113,10 +113,8 @@ gtest.zip:
exit 1;,\
$(if\
$(CURL),$(download_curl) '$(gtest_url)',$(if\
- $(WGET),$(download_wget) '$(gtest_url)',test -f $@)))
-
-gtest: gtest.zip
- unzip -nq -d gtest gtest.zip
+ $(WGET),$(download_wget) '$(gtest_url)',test -f $@))); \
+ $(AM_V_GEN)unzip -nq -d gtest gtest.zip
check_DATA = gtest
CLEANFILES = gtest.zip
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]