X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=ocaml%2Frun;h=2bdbc7bd27d083a12c2a7c5e3298fb128bcc012f;hb=42d291fb023ac67d1a12c128c2280c34a451b20c;hp=7a6436d411a8932935b9d81041079d41647734c9;hpb=bd621e95f496a5cd40ca75548f32c063212b8987;p=fireball-separation.git diff --git a/ocaml/run b/ocaml/run index 7a6436d..2bdbc7b 100644 --- a/ocaml/run +++ b/ocaml/run @@ -8,15 +8,16 @@ echo trap 'echo' SIGINT -if ( ./test4.out 2>&1 | tee $file | stdbuf -o0 grep -Po '(?<=measure=)[^ ]*' | stdbuf -o0 tr '\n' ' ') -then { + +./lambda4_test.out 2>&1 | tee $file | stdbuf -o0 grep -Po '(?<=measure=)[^ ]*' | stdbuf -o0 tr '\n' ' ' + +if [ $? -eq 0 ] +then rm $file echo echo 'Test succeeded' -} -else { +else echo '' echo 'Test failed or interrupted' echo "Please have a look at log file: $file ." -} fi