From 533824e94e09247e8bd64e75a3ccbfae0fb5d746 Mon Sep 17 00:00:00 2001 From: lpaucot_uclouvain <laurent.paucot@student.uclouvain.be> Date: Tue, 21 Apr 2020 08:47:13 +0200 Subject: [PATCH] test --- Projet_M2/run.c | 3 ++- Projet_M2/test.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Projet_M2/run.c b/Projet_M2/run.c index bcfa02b..b5b1186 100755 --- a/Projet_M2/run.c +++ b/Projet_M2/run.c @@ -434,9 +434,10 @@ int run (char *input,char *output, int n_threads){ sem_1_initializer(ptr1); sem_2_initializer(ptr2); + printf("check2\n"); 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 a230d81..cbd9825 100644 --- a/Projet_M2/test.c +++ b/Projet_M2/test.c @@ -104,7 +104,7 @@ void file_test(void){ fclose(file1); return; } - printf("check2\n"); + printf("checkfinal\n"); file2 = fopen("actual_output.txt","r"); if (file2 == NULL){ CU_FAIL("actual_output opening fail"); -- GitLab