diff --git a/testing/testing_zgemm_batch.c b/testing/testing_zgemm_batch.c
index ed335643adebc62f34e09494438b0dd2c71fd7aa..c3a61d0349eb78b1a55d78e44578bbe09e6338ef 100644
--- a/testing/testing_zgemm_batch.c
+++ b/testing/testing_zgemm_batch.c
@@ -48,9 +48,9 @@ testing_zgemm_batch_desc( run_arg_list_t *args, int check )
     int                   K      = run_arg_get_int( args, "K", N );
     CHAMELEON_Complex64_t alpha  = testing_zalea();
     CHAMELEON_Complex64_t beta   = testing_zalea();
-    int                   seedA  = run_arg_get_int( args, "seedA", random() );
-    int                   seedB  = run_arg_get_int( args, "seedB", random() );
-    int                   seedC  = run_arg_get_int( args, "seedC", random() );
+    int                   seedA  = run_arg_get_int( args, "seedA", testing_ialea() );
+    int                   seedB  = run_arg_get_int( args, "seedB", testing_ialea() );
+    int                   seedC  = run_arg_get_int( args, "seedC", testing_ialea() );
 
     /* Descriptors */
     int          Am, An, Bm, Bn;
diff --git a/testing/testing_zherk_batch.c b/testing/testing_zherk_batch.c
index 47a6bc86a8a317649116046f4f47dbe938a17bfe..4f149ea7032754f1774dd6a08a5c4a3f87962c28 100644
--- a/testing/testing_zherk_batch.c
+++ b/testing/testing_zherk_batch.c
@@ -48,8 +48,8 @@ testing_zherk_batch_desc( run_arg_list_t *args, int check )
     double        alpha = testing_dalea();
     double        beta  = testing_dalea();
     double        bump  = 0.;
-    int           seedA = run_arg_get_int( args, "seedA", random() );
-    int           seedC = run_arg_get_int( args, "seedC", random() );
+    int           seedA = run_arg_get_int( args, "seedA", testing_ialea() );
+    int           seedC = run_arg_get_int( args, "seedC", testing_ialea() );
 
     /* Descriptors */
     int          Am, An;
diff --git a/testing/testing_zpotrf_batch.c b/testing/testing_zpotrf_batch.c
index eb4b6d1156c0bea4c0bdc18ebc839eb8d98f0be3..27d17b301669c7069fbad63525e8a34ba890011c 100644
--- a/testing/testing_zpotrf_batch.c
+++ b/testing/testing_zpotrf_batch.c
@@ -43,7 +43,7 @@ testing_zpotrf_batch_desc( run_arg_list_t *args, int check )
     int           P     = parameters_getvalue_int( "P" );
     cham_uplo_t   uplo  = run_arg_get_uplo( args, "uplo", ChamUpper );
     int           N     = run_arg_get_int( args, "N", 320 );
-    int           seedA = run_arg_get_int( args, "seedA", random() );
+    int           seedA = run_arg_get_int( args, "seedA", testing_ialea() );
     int           Q     = parameters_compute_q( P );
 
     /* Descriptors */
diff --git a/testing/testing_ztrsm_batch.c b/testing/testing_ztrsm_batch.c
index 44702794fb75f56d247c507165e8aeac6be11081..318aa33bd7636af7a518f28ebf48e3222058d22c 100644
--- a/testing/testing_ztrsm_batch.c
+++ b/testing/testing_ztrsm_batch.c
@@ -48,8 +48,8 @@ testing_ztrsm_batch_desc( run_arg_list_t *args, int check )
     int                   N     = run_arg_get_int( args, "N", 320 );
     int                   M     = run_arg_get_int( args, "M", N );
     CHAMELEON_Complex64_t alpha = testing_zalea();
-    int                   seedA = run_arg_get_int( args, "seedA", random() );
-    int                   seedB = run_arg_get_int( args, "seedB", random() );
+    int                   seedA = run_arg_get_int( args, "seedA", testing_ialea() );
+    int                   seedB = run_arg_get_int( args, "seedB", testing_ialea() );
 
     /* Descriptors */
     int          Am, An, Bm, Bn;