def METHOD_NAME(self):
    """build and run make(test)"""
    if self.spec.satisfies("@:2.2.0"):
        raise SkipTest("Test is not supported for versions @:2.2.0")
    # using the tests copied from <prefix>/share/heffte/testing
    cmake_dir = self.test_suite.current_test_cache_dir.testing
    options = [cmake_dir]
    if "+rocm" in self.spec:
        options.extend(
            [
                f"-Dhip_DIR={self.spec['hip'].prefix.lib.cmake.hip}",
                "-DAMDDeviceLibs_DIR="
                + f"{self.spec['llvm-amdgpu'].prefix.lib.cmake.AMDDeviceLibs}",
                f"-Damd_comgr_DIR={self.spec['comgr'].prefix.lib.cmake.amd_comgr}",
                "-Dhsa-runtime64_DIR="
                + f"{self.spec['hsa-rocr-dev'].prefix.lib.cmake.hsa-runtime64}",
                "-DHSA_HEADER={self.spec['hsa-rocr-dev'].prefix.include}",
                "-Drocfft_DIR={self.spec['rocfft'].prefix.lib.cmake.rocfft}",
            ]
        )
    # Provide the root directory of the MPI installation.
    options.append(f"-DMPI_HOME={self.spec['mpi'].prefix}")
    cmake = which(self.spec["cmake"].prefix.bin.cmake)
    cmake(*options)
    make = which("make")
    make()
    make("test")