Tests: Add test for InstallRequiredSystemLibraries

This commit is contained in:
Kyle Edwards
2018-07-13 09:01:09 -04:00
parent 5a7a006fdd
commit 2201fb6f43
3 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1 @@
.*

View File

@@ -0,0 +1,10 @@
enable_language(C)
set(CMAKE_INSTALL_MFC_LIBRARIES 1)
set(CMAKE_INSTALL_DEBUG_LIBRARIES 1)
set(CMAKE_INSTALL_UCRT_LIBRARIES 1)
set(CMAKE_INSTALL_OPENMP_LIBRARIES 1)
include(InstallRequiredSystemLibraries)
# FIXME: This test emits warnings because InstallRequiredSystemLibraries
# doesn't currently work properly. The warnings have been suppressed in
# InstallRequiredSystemLibraries-stderr.txt. This needs to be fixed.

View File

@@ -89,6 +89,7 @@ run_install_test(DIRECTORY-PATTERN)
run_install_test(TARGETS-Parts)
run_install_test(FILES-PERMISSIONS)
run_install_test(TARGETS-RPATH)
run_install_test(InstallRequiredSystemLibraries)
set(run_install_test_components 1)
run_install_test(FILES-EXCLUDE_FROM_ALL)