diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-10-10 07:59:51 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-06 07:39:33 +0200 |
commit | 7c24c5d0de4d3584d6d2f9f3c26b4d757b0a0df2 (patch) | |
tree | 81585a1be9126c4bc1be946e74b4b6e1d706279b /backend/BackendUtils.cpp | |
parent | 6b238d4bc3c142f6337a73d858e069cae778dc54 (diff) |
Fix sibs test not including parent library correctly
Refactor config parsing to reduce number of changes when introducing a
new platform to support
Diffstat (limited to 'backend/BackendUtils.cpp')
-rw-r--r-- | backend/BackendUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/BackendUtils.cpp b/backend/BackendUtils.cpp index d5fad04..b724f51 100644 --- a/backend/BackendUtils.cpp +++ b/backend/BackendUtils.cpp @@ -91,7 +91,7 @@ namespace backend if (!sibsConfig.getTestPath().empty() && isPathSubPathOf(pathNative.c_str(), sibsConfig.getTestPath())) { string filePathUtf8 = toUtf8(pathNative.c_str()); - ninjaProject->addTestSourceDir(filePathUtf8.c_str()); + ninjaProject->setTestSourceDir(filePathUtf8.c_str()); } else if(recursive && !directoryToIgnore(pathNative, sibsConfig.getIgnoreDirs()) && _tinydir_strcmp(file->name, TINYDIR_STRING("sibs-build")) != 0) { |