• Show log

    Commit

  • Hash : f46359b4
    Author : Stefano Lattarini
    Date : 2012-04-18T11:40:15

    parallel-tests: 'recheck' must depend on 'all'
    
    Fixes automake bug#11252.
    
    When a developer experience one or more failures in the testsuite, a good
    workflow is for him to modify its program's sources to fix the bug thus
    revealed, run "make recheck" to verify that the change has indeed solved
    the testsuite failures previously experienced, and then run "make check"
    to verify that the change has not introduced any new failure or regression.
    
    Unfortunately, this apparently natural workflow couldn't have worked until
    now, since the Automake-provided 'recheck' target (which didn't depend on
    'all') wouldn't have causes the program to be recompiled, and the failed
    tests would have thus been run with the older, buggy version of the
    program, failing the same way as before.
    
    * lib/am/check.am (recheck): Depend on 'all'.
    * t/parallel-tests-recheck-depends-on-all.sh: New test.
    * t/list-of-tests.mk: Add it.
    * NEWS: Update.
    
    Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>