0
Comment réexécuter une suite de tests définie via la directive run
dans Boost Build?Boost Build (bjam): Réexécuter la suite de tests après succès
Exemple fichier Jamroot:
project test ;
exe a_runner : a.c ;
run a_runner : : : : a_run ;
Son exécution fonctionne une fois comme prévu:
[email protected]:/tmp$ bjam -t a_run
...found 15 targets...
...updating 4 targets...
gcc.compile.c bin/gcc-4.6/debug/a.o
gcc.link bin/gcc-4.6/debug/a_runner
testing.capture-output bin/a_run.test/gcc-4.6/debug/a_run.run
**passed** bin/a_run.test/gcc-4.6/debug/a_run.test
...updated 4 targets...
Mais essayer de l'exécuter ne plus rien faire:
[email protected]:/tmp$ bjam -d2 -t a_run a_run
...found 15 targets...
[email protected]:/tmp$
version pertinente numéros: Boost.Build V2 (Jalon 12), Boost.Jam 03.1.19, Ubuntu Précise
Cela reconstruirait l'ensemble du projet, non? Je veux juste réexécuter un outil de test qui dépend de l'état externe, ne pas reconstruire tout (ce qui prend des âges). –