diff --git a/tests/spm_compare.c b/tests/spm_compare.c
index 6ef899ef1ada2b8a821f050889d6c1dd12ffc326..d16adad322d211742633ae52c8f427b121da4db7 100644
--- a/tests/spm_compare.c
+++ b/tests/spm_compare.c
@@ -13,9 +13,11 @@
  **/
 #include "spm_tests.h"
 
-char* fltnames[] = { "Pattern", "", "Float", "Double", "Complex32", "Complex64" };
-char* fmtnames[] = { "CSC", "CSR", "IJV" };
-char* mtxnames[] = { "General", "Symmetric", "Hermitian" };
+const char* fltnames[]   = { "Pattern", "", "Float", "Double", "Complex32", "Complex64" };
+const char* fmtnames[]   = { "CSC", "CSR", "IJV" };
+const char* mtxnames[]   = { "General", "Symmetric", "Hermitian" };
+const char *dofname[]    = { "None", "Constant", "Variadic" };
+const char* transnames[] = { "NoTrans", "Trans", "ConjTrans" };
 
 static inline int
 spmCompareFloatArray( spm_int_t n,
diff --git a/tests/spm_dof_expand_tests.c b/tests/spm_dof_expand_tests.c
index 61f600ed7ef2fcfbfa4a5c7dc10f42bdacc8b1c2..d49612e0731dbf289800448f7851c736b6a90aeb 100644
--- a/tests/spm_dof_expand_tests.c
+++ b/tests/spm_dof_expand_tests.c
@@ -34,10 +34,6 @@
         printf("SUCCESS\n");                    \
     }
 
-char* fltnames[] = { "Pattern", "", "Float", "Double", "Complex32", "Complex64" };
-char* fmtnames[] = { "CSC", "CSR", "IJV" };
-char* mtxnames[] = { "General", "Symmetric", "Hermitian" };
-
 int main (int argc, char **argv)
 {
     spmatrix_t    original, *spm;
diff --git a/tests/spm_dof_matvec_tests.c b/tests/spm_dof_matvec_tests.c
index b0bde26ccf17bbdb72094b15c4affeb88cae6778..5841ce0452096361e688e63223fce4c9a79eda99 100644
--- a/tests/spm_dof_matvec_tests.c
+++ b/tests/spm_dof_matvec_tests.c
@@ -32,10 +32,6 @@
         printf("SUCCESS\n");                    \
     }
 
-char* fltnames[] = { "Pattern", "", "Float", "Double", "Complex32", "Complex64" };
-char* fmtnames[] = { "CSC", "CSR", "IJV" };
-char* mtxnames[] = { "General", "Symmetric", "Hermitian" };
-
 int main (int argc, char **argv)
 {
     spmatrix_t    original, *spm;
diff --git a/tests/spm_dof_norm_tests.c b/tests/spm_dof_norm_tests.c
index e0303723397aab30de8c11efbcb2948d28d065aa..8383fb326f1a5f181961c1c9b31a73df7247c183 100644
--- a/tests/spm_dof_norm_tests.c
+++ b/tests/spm_dof_norm_tests.c
@@ -22,11 +22,6 @@
 #include <time.h>
 #include <spm_tests.h>
 
-int z_spm_norm_check( const spmatrix_t *spm );
-int c_spm_norm_check( const spmatrix_t *spm );
-int d_spm_norm_check( const spmatrix_t *spm );
-int s_spm_norm_check( const spmatrix_t *spm );
-
 #define PRINT_RES(_ret_)                        \
     if(_ret_) {                                 \
         printf("FAILED(%d)\n", _ret_);          \
@@ -36,10 +31,6 @@ int s_spm_norm_check( const spmatrix_t *spm );
         printf("SUCCESS\n");                    \
     }
 
-char* fltnames[] = { "Pattern", "", "Float", "Double", "Complex32", "Complex64" };
-char* fmtnames[] = { "CSC", "CSR", "IJV" };
-char* mtxnames[] = { "General", "Symmetric", "Hermitian" };
-
 int main (int argc, char **argv)
 {
     spmatrix_t    original, *spm;
@@ -108,10 +99,12 @@ int main (int argc, char **argv)
                         continue;
                     }
 
-                    printf(" Case: %d / %s / %s / %d / %s\n",
-                           i, fltnames[spm->flttype],
-                           fmtnames[spm->fmttype], baseval,
-                           mtxnames[mtxtype - SpmGeneral] );
+                    printf( " Case: %s / %s / %s / %d / %s\n",
+                            fltnames[spm->flttype],
+                            dofname[i+1],
+                            mtxnames[mtxtype - SpmGeneral],
+                            baseval,
+                            fmtnames[spm->fmttype] );
 
                     switch( spm->flttype ){
                     case SpmComplex64:
diff --git a/tests/spm_matvec_tests.c b/tests/spm_matvec_tests.c
index 61740c69f076ab6639feb504dcf2c620ca6b84f6..84108b9b88bc2b2ff7ddb93c87bd424c2caa5c55 100644
--- a/tests/spm_matvec_tests.c
+++ b/tests/spm_matvec_tests.c
@@ -31,11 +31,6 @@
         printf("SUCCESS\n");                    \
     }
 
-char* fltnames[] = { "Pattern", "", "Float", "Double", "Complex32", "Complex64" };
-char* transnames[] = { "NoTrans", "Trans", "ConjTrans" };
-char* mtxnames[] = { "General", "Symmetric", "Hermitian" };
-char* fmtnames[] = { "CSC", "CSR", "IJV" };
-
 int main (int argc, char **argv)
 {
     spmatrix_t    spm;
diff --git a/tests/spm_norm_tests.c b/tests/spm_norm_tests.c
index 4e49a15adfe33fefbd1694f93642f409e837a768..415239044417931b1379d1f0300717b3911e95eb 100644
--- a/tests/spm_norm_tests.c
+++ b/tests/spm_norm_tests.c
@@ -22,11 +22,6 @@
 #include <time.h>
 #include <spm_tests.h>
 
-int z_spm_norm_check( const spmatrix_t *spm );
-int c_spm_norm_check( const spmatrix_t *spm );
-int d_spm_norm_check( const spmatrix_t *spm );
-int s_spm_norm_check( const spmatrix_t *spm );
-
 #define PRINT_RES(_ret_)                        \
     if(_ret_) {                                 \
         printf("FAILED(%d)\n", _ret_);          \
@@ -36,10 +31,6 @@ int s_spm_norm_check( const spmatrix_t *spm );
         printf("SUCCESS\n");                    \
     }
 
-char* fltnames[] = { "Pattern", "", "Float", "Double", "Complex32", "Complex64" };
-char* fmtnames[] = { "CSC", "CSR", "IJV" };
-char* mtxnames[] = { "General", "Symmetric", "Hermitian" };
-
 int main (int argc, char **argv)
 {
     spmatrix_t    spm;
@@ -101,7 +92,8 @@ int main (int argc, char **argv)
 
                 printf(" Case: %s / %s / %d / %s\n",
                        fltnames[spm.flttype],
-                       fmtnames[spm.fmttype], baseval,
+                       fmtnames[spm.fmttype],
+                       baseval,
                        mtxnames[mtxtype - SpmGeneral] );
 
                 switch( spm.flttype ){
diff --git a/tests/spm_scatter_gather_tests.c b/tests/spm_scatter_gather_tests.c
index f9c4ec407a060c0fcd939263cc21d882555269d9..0678923a495345abfe8d4f249bcd5b309f90bc28 100644
--- a/tests/spm_scatter_gather_tests.c
+++ b/tests/spm_scatter_gather_tests.c
@@ -75,7 +75,6 @@ spmdist_check_scatter_gather( spmatrix_t    *original,
                               int            root,
                               int            clustnum )
 {
-    const char *dofname[]  = { "None", "Constant", "Variadic" };
     const char *distname[] = { "Round-Robin", "Continuous "};
     spmatrix_t *spms = NULL;
     spmatrix_t *spmg = NULL;
diff --git a/tests/spm_tests.h b/tests/spm_tests.h
index c7610f53c775764efd81fdb66868ca983162bf0e..011be821e8693576a0e7fb83a57073aa9c10616f 100644
--- a/tests/spm_tests.h
+++ b/tests/spm_tests.h
@@ -20,9 +20,11 @@
 #include <stdio.h>
 #include <spm.h>
 
-extern char* fltnames[];
-extern char* fmtnames[];
-extern char* mtxnames[];
+extern const char* fltnames[];
+extern const char* fmtnames[];
+extern const char* mtxnames[];
+extern const char *dofname[];
+extern const char* transnames[];
 
 void spmGetOptions( int argc, char **argv,
                     spm_driver_t *driver, char **filename );