From b8e224b787da3889e2cdb8f5c15baa78d0cb00b8 Mon Sep 17 00:00:00 2001
From: Mathieu Faverge <mathieu.faverge@inria.fr>
Date: Wed, 4 Apr 2018 10:59:42 +0200
Subject: [PATCH] Fix testings rules to have a better coverage

---
 CMakeLists.txt       | 2 +-
 tests/CMakeLists.txt | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 03881690..cd0ad071 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -78,7 +78,7 @@ set( SPM_VERSION "${SPM_VERSION_MAJOR}.${SPM_VERSION_MINOR}.${SPM_VERSION_MICRO}
 # Define precision supported by MAGMA_MORSE
 # -----------------------------------------
 set( RP_SPM_DICTIONNARY ${MORSE_CMAKE_MODULE_PATH}/precision_generator/subs.py )
-set( RP_SPM_PRECISIONS  "s;d;c;z" )
+set( RP_SPM_PRECISIONS  "p;s;d;c;z" )
 include(RulesPrecisions)
 
 ### System parameter detection
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 1cd2d88a..ff6480bc 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -61,13 +61,13 @@ set( SPM_DOF_TESTS
 
 # Laplacian
 foreach(example ${SPM_TESTS} ${SPM_DOF_TESTS} )
-  foreach(arithm ${PASTIX_PRECISIONS} )
+  foreach(arithm ${RP_SPM_PRECISIONS} )
     add_test(test_lap_${arithm}_${example} ./${example} --lap ${arithm}:10:10:10)
   endforeach()
 endforeach()
 
 # RSA
-if (PASTIX_WITH_FORTRAN)
+if (SPM_WITH_FORTRAN)
   foreach(example ${SPM_TESTS} )
     add_test(test_rsa_${example} ./${example} --rsa ${CMAKE_SOURCE_DIR}/tests/matrix/small.rsa)
   endforeach()
-- 
GitLab