From a5a6a8855f02e276ded7eff2dc0daf728179cc05 Mon Sep 17 00:00:00 2001
From: lpaucot_uclouvain <laurent.paucot@student.uclouvain.be>
Date: Tue, 21 Apr 2020 08:32:24 +0200
Subject: [PATCH] test

---
 Projet_M2/run.c  | 4 ++--
 Projet_M2/test.c | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Projet_M2/run.c b/Projet_M2/run.c
index bcfa02b..aa4e1f9 100755
--- a/Projet_M2/run.c
+++ b/Projet_M2/run.c
@@ -411,7 +411,7 @@ void thread_create_join(struct buffer_rc *ptr1,struct buffer_cw *ptr2,struct buf
 int run (char *input,char *output, int n_threads){
 
     N = n_threads;
-    
+    printf("check2\n");
 
     FILE *file1 = NULL;
     FILE *file2 = NULL;
@@ -436,7 +436,7 @@ int run (char *input,char *output, int n_threads){
     sem_2_initializer(ptr2);
 
     thread_create_join(ptr1,ptr2,ptr3);
-    
+    printf("check3\n");
 
     fclose(file1);
     fclose(file2);
diff --git a/Projet_M2/test.c b/Projet_M2/test.c
index 04f2be2..1c516b1 100644
--- a/Projet_M2/test.c
+++ b/Projet_M2/test.c
@@ -171,9 +171,9 @@ int main(int argc, char *argv[]){
             return CU_get_error();
         }
 
-
-        //CU_basic_run_tests();
-        CU_automated_run_tests();
+        printf("check1\n");
+        CU_basic_run_tests();
+        //CU_automated_run_tests();
         CU_basic_show_failures(CU_get_failure_list());
     }
     else
-- 
GitLab