From add7f2b09ac01022976eaabdad117336affb7a52 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Mon, 4 Jun 2018 16:50:02 +0200 Subject: pybind11: test functionality (#8304) * pybind11: test support Add a test functionality to pybind11. * CMake: test also on "make check" Some projects use non-CTest manual targets for tests. --- lib/spack/spack/build_systems/cmake.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/spack/spack/build_systems/cmake.py b/lib/spack/spack/build_systems/cmake.py index c60f649fa5..1592ae4be5 100644 --- a/lib/spack/spack/build_systems/cmake.py +++ b/lib/spack/spack/build_systems/cmake.py @@ -256,8 +256,10 @@ class CMakePackage(PackageBase): with working_dir(self.build_directory): if self.generator == 'Unix Makefiles': self._if_make_target_execute('test') + self._if_make_target_execute('check') elif self.generator == 'Ninja': self._if_ninja_target_execute('test') + self._if_ninja_target_execute('check') # Check that self.prefix is there after installation run_after('install')(PackageBase.sanity_check_prefix) -- cgit v1.2.3-60-g2f50