X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=all-tests;h=593d4f9b0629b7437dc733a35c080f86ec7f61b8;hb=f80752a84bd4dd5c71b653f7e87ae88695d0fb57;hp=5c538542a164d0844e41c01d9e5f5415c45bf355;hpb=e3ce3d767b284574087f630fb2a98d861811ced5;p=nepi.git diff --git a/all-tests b/all-tests index 5c538542..593d4f9b 100755 --- a/all-tests +++ b/all-tests @@ -43,17 +43,16 @@ function all_tests () { echo tests echo ======================================== make PYTHON=$PYTHON all-tests + make_retcod=$! echo ======================================== end=$(date +%s) - echo all-tests : end at; date; echo total duration $(($end-$begin)) seconds + echo all-tests : end at $((date)); echo total duration $(($end-$begin)) seconds + return $make_retcod } -# WARNING: the current code for analyzing the output is not quite right -# I've seen cases where the tests session goes very badly - with broken imports for example -# but it's considered OK though -# we mght wish to take the opposite angle : check we have as many OK as expected -# but then the list of default targets should be declared here and not in Makefile -# in any case this is good enough for now +# WARNING +# the current code for analyzing the output is very basic +# this needs to be checked manually for some time all_tests >& $output retcod=$?