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