Revert "boost pthreads qt sdl: disable cmake tests"

This reverts commit f1dd70802a.
This commit is contained in:
Tony Theodore 2015-10-17 11:53:28 +11:00
parent 08d7f265a1
commit d08148a0da
4 changed files with 4 additions and 8 deletions

View File

@ -73,11 +73,10 @@ define $(PKG)_BUILD
-lboost_chrono-mt
# test cmake
$(and $(ENABLE_CMAKE_TESTS),
mkdir '$(1).test-cmake'
cd '$(1).test-cmake' && '$(TARGET)-cmake' \
-DPKG=$(PKG) \
-DPKG_VERSION=$($(PKG)_VERSION) \
'$(PWD)/src/cmake/test'
$(MAKE) -C '$(1).test-cmake' -j 1 install)
$(MAKE) -C '$(1).test-cmake' -j 1 install
endef

View File

@ -27,10 +27,9 @@ define PTHREADS_TEST
`'$(TARGET)-pkg-config' --libs pthreads`
# test cmake
$(and $(ENABLE_CMAKE_TESTS),
mkdir '$(1).test-cmake'
cd '$(1).test-cmake' && '$(TARGET)-cmake' \
-DPKG=$(PKG) \
'$(PWD)/src/cmake/test'
$(MAKE) -C '$(1).test-cmake' -j 1 install)
$(MAKE) -C '$(1).test-cmake' -j 1 install
endef

View File

@ -127,13 +127,12 @@ define $(PKG)_BUILD
echo 'set(MNG_LIBRARY mng lcms2 lzma)' >> '$(CMAKE_TOOLCHAIN_DIR)/$(PKG).cmake'
# test cmake
$(and $(ENABLE_CMAKE_TESTS),
mkdir '$(1).test-cmake'
cd '$(1).test-cmake' && '$(TARGET)-cmake' \
-DPKG=$(PKG) \
-DPKG_VERSION=$($(PKG)_VERSION) \
'$(PWD)/src/cmake/test'
$(MAKE) -C '$(1).test-cmake' -j 1 install)
$(MAKE) -C '$(1).test-cmake' -j 1 install
endef
$(PKG)_BUILD_SHARED = $(subst -static ,-shared ,\

View File

@ -35,11 +35,10 @@ define $(PKG)_BUILD
`'$(TARGET)-pkg-config' sdl --cflags --libs`
# test cmake
$(and $(ENABLE_CMAKE_TESTS),
mkdir '$(1).test-cmake'
cd '$(1).test-cmake' && '$(TARGET)-cmake' \
-DPKG=$(PKG) \
-DPKG_VERSION=$($(PKG)_VERSION) \
'$(PWD)/src/cmake/test'
$(MAKE) -C '$(1).test-cmake' -j 1 install)
$(MAKE) -C '$(1).test-cmake' -j 1 install
endef