Skip to content
Extraits de code Groupes Projets
Valider a5a6a885 rédigé par Laurent Paucot's avatar Laurent Paucot
Parcourir les fichiers

test

parent 4e85ec0e
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Pipeline #5713 réussi
...@@ -411,7 +411,7 @@ void thread_create_join(struct buffer_rc *ptr1,struct buffer_cw *ptr2,struct buf ...@@ -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){ int run (char *input,char *output, int n_threads){
N = n_threads; N = n_threads;
printf("check2\n");
FILE *file1 = NULL; FILE *file1 = NULL;
FILE *file2 = NULL; FILE *file2 = NULL;
...@@ -436,7 +436,7 @@ int run (char *input,char *output, int n_threads){ ...@@ -436,7 +436,7 @@ int run (char *input,char *output, int n_threads){
sem_2_initializer(ptr2); sem_2_initializer(ptr2);
thread_create_join(ptr1,ptr2,ptr3); thread_create_join(ptr1,ptr2,ptr3);
printf("check3\n");
fclose(file1); fclose(file1);
fclose(file2); fclose(file2);
......
...@@ -171,9 +171,9 @@ int main(int argc, char *argv[]){ ...@@ -171,9 +171,9 @@ int main(int argc, char *argv[]){
return CU_get_error(); return CU_get_error();
} }
printf("check1\n");
//CU_basic_run_tests(); CU_basic_run_tests();
CU_automated_run_tests(); //CU_automated_run_tests();
CU_basic_show_failures(CU_get_failure_list()); CU_basic_show_failures(CU_get_failure_list());
} }
else else
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter