|
I'd like the ability to maintain a list of "interesting" unit tests for my team to use to validate results locally (pre patch build). As an example, we might run something like this today:
ninja <FLAGS> install-devcore build/install/bin/algebra_test build/install/bin/db_pipeline_test build/install/bin/optimizer_test build/install/bin/sbe_abt_test && ./build/install/bin/algebra_test && ./build/install/bin/db_pipeline_test --fileNameFilter=pipeline_test.cpp && ./build/install/bin/optimizer_test && ./build/install/bin/sbe_abt_test && resmoke --suites=cqf,cqf_parallel,cqf_passthrough -j4
|
I'd like to evolve that into something more like
ninja <FLAGS> install-devcore install-cqf-unittests && resmoke --suites=cqf_unittests,cqf,cqf_parallel_cqf_passthrough -j4
|
install-cqf-unittests would be my new scons target which compiles only these tests:
build/install/bin/algebra_test
|
build/install/bin/db_pipeline_test
|
build/install/bin/optimizer_test
|
build/install/bin/sbe_abt_test
|
I would also need that scons invocation (ideally possible through ninja as well) to generate a list of all those tests, because that would be necessary for `resmoke.py` to be able to run that selected suite of tests in resmoke --suites=cqf_unittests,.... See this example where we need a source of all unit tests for resmoke to inspect.
|