From cc764017df1b1f625c08c290554201430de89ddf Mon Sep 17 00:00:00 2001
From: Mathieu Faverge <mathieu.faverge@inria.fr>
Date: Thu, 27 Apr 2017 14:26:04 +0200
Subject: [PATCH] Add systolic testing

---
 testings/CMakeLists.txt | 1 +
 testings/testing_hqr.c  | 8 ++------
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/testings/CMakeLists.txt b/testings/CMakeLists.txt
index c6c9da9..88d0224 100644
--- a/testings/CMakeLists.txt
+++ b/testings/CMakeLists.txt
@@ -15,6 +15,7 @@ set(TESTINGS
   draw_hqr.c
   draw_systolic.c
   testing_hqr.c
+  testing_systolic.c
   testing_tileinit.c
   )
 
diff --git a/testings/testing_hqr.c b/testings/testing_hqr.c
index dc3e2e1..e13f552 100644
--- a/testings/testing_hqr.c
+++ b/testings/testing_hqr.c
@@ -2,7 +2,7 @@
  *
  * @file testing_hqr.c
  *
- * Testing file for all combinations of trees.
+ * Testing file for all combinations of hierarchical QR trees.
  *
  * @copyright 2010-2017 The University of Tennessee and The University
  *                      of Tennessee Research Foundation.  All rights
@@ -51,9 +51,6 @@ main(int argc, char ** argv)
         int nb_mt   = sizeof( all_mt   ) / sizeof( int );
         int nb_nt   = sizeof( all_nt   ) / sizeof( int );
 
-        int rc, ret = 0;
-        int P       = 1;
-        int nbnodes = P;
         int l, h, p, a, m, n;
         int done, todo;
         todo = 0;
@@ -116,8 +113,6 @@ main(int argc, char ** argv)
             /*
              * Tests w/ high level trees
              */
-            matrix.nodes = nbnodes;
-
             for( domino=0; domino<2; domino++) { /* Domino */
                 if ((domino == 1) && (llvl == LIBHQR_GREEDY1P_TREE))
                     continue;
@@ -199,6 +194,7 @@ main(int argc, char ** argv)
     }
 
     if ( ret == 0 ) {
+        printf("\n");
         return EXIT_SUCCESS;
     }
     else {
-- 
GitLab