davmac314 / dinit

Service monitoring / "init" system
Apache License 2.0
582 stars 45 forks source link

cptests/Makefile: Don't rebuild test objects that were built by primary tests #356

Closed mobin-2008 closed 1 month ago

mobin-2008 commented 1 month ago

We already have parent_objs built in ../ directory with exactly same compiler flags. So why we don't use them in cptests also instead of building them again?

This also should improve build time.

Signed-off-by: Mobin Aydinfar <mobin@mobintestserver.ir>

davmac314 commented 1 month ago

Also could you remove the "waste resources" from the commit message, just say what the change is without passing judgement. "cptests: don't rebuild test objects that were built by primary tests" would be fine.