fix #71 - Unittests of package fails when calling as dependency
This commit is contained in:
parent
8775767082
commit
86079840f0
|
@ -34,7 +34,7 @@ package:
|
||||||
void run(F ...)(string testName, void function(bool, F) testFunction,
|
void run(F ...)(string testName, void function(bool, F) testFunction,
|
||||||
string[] unittestExt, string[] skipExt = [])
|
string[] unittestExt, string[] skipExt = [])
|
||||||
{
|
{
|
||||||
immutable string dataDir = "test/data";
|
immutable string dataDir = __FILE_FULL_PATH__.dirName ~ "/../../test/data";
|
||||||
auto testFilenames = findTestFilenames(dataDir);
|
auto testFilenames = findTestFilenames(dataDir);
|
||||||
bool verbose = false;
|
bool verbose = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue