Skip to content

Commit 18c9ee8

Browse files
committed
default test input is source dir
#test
1 parent 6b4e203 commit 18c9ee8

File tree

4 files changed

+2
-7
lines changed

4 files changed

+2
-7
lines changed

src/test/TestRunner.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ handleDir(
280280
auto const& subdir = entry.path();
281281
Config::Settings subdirSettings = dirSettings;
282282
subdirSettings.sourceRoot = subdir;
283+
subdirSettings.input = {subdir};
283284
std::string const& configPath = files::appendPath(subdir, "mrdocs.yml");
284285
if (files::exists(configPath))
285286
{
@@ -340,6 +341,7 @@ checkPath(
340341
testArgs.apply(dirSettings, dirs_, argv);
341342
dirSettings.multipage = false;
342343
dirSettings.sourceRoot = inputDir;
344+
dirSettings.input = {inputDir};
343345
std::string const& configPath = files::appendPath(inputDir, "mrdocs.yml");
344346

345347
if (files::exists(configPath))

test-files/golden-tests/config/sfinae/mrdocs.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

test-files/golden-tests/core/libcxx.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

test-files/golden-tests/mrdocs.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#ignore-failures: true
21
concurrency: 1
32
source-root: .
43
single-page: true

0 commit comments

Comments
 (0)