diff --git a/src/ftest/ftest.c b/src/ftest/ftest.c index 3ce1c17..86b396c 100644 --- a/src/ftest/ftest.c +++ b/src/ftest/ftest.c @@ -1,5 +1,5 @@ #include "ftest/ftest.h" -#include +//#include /* * by default display in millisecond @@ -1220,7 +1220,7 @@ final_parallel_test_() if(savelog){ FILE *f_savelog; - f_savelog=fopen(savelog, "w+"); + f_savelog=fopen(savelog, "a"); for(size_t id_thrd =0 ; id_thrd <= parallel_nb; ++id_thrd){ rewind(f_ou_th[id_thrd]); // put the file pointer to the begin of file; while(fgets(reader, 255,f_ou_th[id_thrd] )){ diff --git a/src/ftest/ftest.h b/src/ftest/ftest.h index 8c9fcf2..cd2cd81 100644 --- a/src/ftest/ftest.h +++ b/src/ftest/ftest.h @@ -90,7 +90,7 @@ extern char *varHK_EQ, *varHK_TR, *varHK_RN, *varHK_DN, *varHK_OK, *varHK_FL, *v if (stream == NULL) { fprintf(stderr," error open_memstream %s:%d:%s \n",__FILE__,__LINE__,__func__); exit(0); }\ fprintf(stream, __VA_ARGS__); \ fflush(stream);\ - rewind(stream);\ + /*rewind(stream);*/\ if(is_parallel_nb){\ long int id_thread=id_of_thread_executed();\ if(log_parallel){\ @@ -112,13 +112,13 @@ extern char *varHK_EQ, *varHK_TR, *varHK_RN, *varHK_DN, *varHK_OK, *varHK_FL, *v } \ else{\ if(savelog){\ - FILE *f_savelog = fopen(savelog,"w+");\ + FILE *f_savelog = fopen(savelog,"a");\ fprintf(f_savelog, "%s",buf);\ fclose(f_savelog);\ }\ - else{\ + /*else{*/\ fprintf(F_OUT, "%s",buf);\ - }\ + /*}*/\ }\ fclose(stream);\ free(buf);\ diff --git a/src/permutation_t/permutation_t.o b/src/permutation_t/permutation_t.o deleted file mode 100644 index 154f6b5..0000000 Binary files a/src/permutation_t/permutation_t.o and /dev/null differ diff --git a/src/set_theoric_t/set_theoric_t.o b/src/set_theoric_t/set_theoric_t.o deleted file mode 100644 index 3c352e6..0000000 Binary files a/src/set_theoric_t/set_theoric_t.o and /dev/null differ