Whenever I call waf clean, waf ends up clearing everything from the build. I would like to have a way to tell waf to only clear specific goals. This way, I don’t have to rebuild everything whenever I want to run all unit tests again.
For instance,
If I had the following folder structure:
src
-acceptanceTests
-applicationA
-tests
-shared
-tests
When waf starts, application A is created and all of its tests run. Subsequently, I launch AcceptTests, which perform some higher levels of testing application A. Then I go over and change the code in Appendix A and do the recompilation.
Then I would like to run AcceptTests again, but none of acceptTests has changed, so waf will not rebuild and run them. Running "waf clean" cleans everything in applications, general and acceptance tests, which are not perfect. Instead, I would like to be able to run the waf cleanAcceptanceTests command, which should only clear the acceptTests directory.
source
share