aboutsummaryrefslogtreecommitdiff
path: root/modules-tests/RunAllModuleTests.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2008-11-16 16:47:43 +0000
committerAlexander Neundorf <neundorf@kde.org>2008-11-16 16:47:43 +0000
commit1e0f7b9bfdf023838b0157ca11fdb65d476e7818 (patch)
tree51139fc34dc3add5b26ab97964d96aacf0bfb16a /modules-tests/RunAllModuleTests.cmake
parentf5a97932d02a33bb9c78c7aae074a9cc86cc73aa (diff)
downloadextra-cmake-modules-1e0f7b9bfdf023838b0157ca11fdb65d476e7818.tar.gz
extra-cmake-modules-1e0f7b9bfdf023838b0157ca11fdb65d476e7818.tar.bz2
test the modules one with and once without pkg-config
Alex svn path=/trunk/KDE/kdelibs/; revision=885115
Diffstat (limited to 'modules-tests/RunAllModuleTests.cmake')
-rw-r--r--modules-tests/RunAllModuleTests.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules-tests/RunAllModuleTests.cmake b/modules-tests/RunAllModuleTests.cmake
index 9b58959c..31198c50 100644
--- a/modules-tests/RunAllModuleTests.cmake
+++ b/modules-tests/RunAllModuleTests.cmake
@@ -14,6 +14,14 @@ function(execute_one_test name)
file(MAKE_DIRECTORY "${workingDir}")
execute_process(COMMAND ${CMAKE_COMMAND} "${currentDir}/${name}"
WORKING_DIRECTORY "${workingDir}")
+ # now the same with pkg-config disabled
+ set(workingDir "${currentDir}/${name}/build-no-pkgconfig")
+ if(CLEAN_DIRS)
+ file(REMOVE_RECURSE "${workingDir}")
+ endif(CLEAN_DIRS)
+ file(MAKE_DIRECTORY "${workingDir}")
+ execute_process(COMMAND ${CMAKE_COMMAND} -DPKG_CONFIG_EXECUTABLE=echo "${currentDir}/${name}"
+ WORKING_DIRECTORY "${workingDir}")
endfunction(execute_one_test)
execute_one_test(Blitz)