SCons: do not build tests with tools=no
This doesn't affect the resulting binary size, but allows to save a phew seconds during compilation if building export templates.
This commit is contained in:
parent
04032a9445
commit
752debe204
2 changed files with 3 additions and 3 deletions
|
|
@ -1457,12 +1457,11 @@ bool Main::start() {
|
|||
};
|
||||
|
||||
if (test != "") {
|
||||
#ifdef DEBUG_ENABLED
|
||||
#ifdef TOOLS_ENABLED
|
||||
main_loop = test_main(test, args);
|
||||
|
||||
if (!main_loop)
|
||||
return false;
|
||||
|
||||
#endif
|
||||
|
||||
} else if (script != "") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue