fix #71 - Unittests of package fails when calling as dependency

This commit is contained in:
Basile Burg 2017-07-19 10:41:13 +02:00 committed by Petar Kirov
parent 8775767082
commit 86079840f0

View file

@ -34,7 +34,7 @@ package:
void run(F ...)(string testName, void function(bool, F) testFunction,
string[] unittestExt, string[] skipExt = [])
{
immutable string dataDir = "test/data";
immutable string dataDir = __FILE_FULL_PATH__.dirName ~ "/../../test/data";
auto testFilenames = findTestFilenames(dataDir);
bool verbose = false;