Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 08cf0cd1 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Merge branch 'feature/flush_print_test' into 'master'

Force flush of stdout in new-testing for each line

In order to allow to watch live testing results, with tools like `less +F`.

If flush isn't forced, results are written in slurm output file only by blocks of many lines, not really practical to watch the progression of the tests.

See merge request !189
parents bd77ba66 3c65cbd5
No related branches found
No related tags found
1 merge request!189Force flush of stdout in new-testing for each line
...@@ -927,5 +927,6 @@ run_print_line( const testing_t *test, const run_arg_list_t *arglist, ...@@ -927,5 +927,6 @@ run_print_line( const testing_t *test, const run_arg_list_t *arglist,
} }
fprintf( stdout, "%s\n", str ); fprintf( stdout, "%s\n", str );
fflush(stdout);
return; return;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment