mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-16 04:43:14 +01:00
Only run unittests contained directly in the module.
This commit is contained in:
@@ -604,7 +604,7 @@ void DtoDeclareFunction(FuncDeclaration* fdecl)
|
||||
}
|
||||
}
|
||||
|
||||
if (fdecl->isUnitTestDeclaration())
|
||||
if (fdecl->isUnitTestDeclaration() && !declareOnly)
|
||||
gIR->unitTests.push_back(fdecl);
|
||||
|
||||
if (!declareOnly)
|
||||
|
||||
Reference in New Issue
Block a user