mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-01 07:30:43 +03:00
Only run unittests contained directly in the module.
This commit is contained in:
parent
0085c9409c
commit
fe71199772
1 changed files with 1 additions and 1 deletions
|
@ -604,7 +604,7 @@ void DtoDeclareFunction(FuncDeclaration* fdecl)
|
|||
}
|
||||
}
|
||||
|
||||
if (fdecl->isUnitTestDeclaration())
|
||||
if (fdecl->isUnitTestDeclaration() && !declareOnly)
|
||||
gIR->unitTests.push_back(fdecl);
|
||||
|
||||
if (!declareOnly)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue