summaryrefslogtreecommitdiff
path: root/src/mongo/executor
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2019-12-18 19:43:47 +0000
committerevergreen <evergreen@mongodb.com>2019-12-18 19:43:47 +0000
commit95a7a6a89a37cdb48d972ae195e485b59301eb37 (patch)
tree29b47cc331be43ccdbb2a7c8baf27e8440543fc0 /src/mongo/executor
parentcd4e921ca0b4bed008b1a91b687f697aac629798 (diff)
downloadmongo-95a7a6a89a37cdb48d972ae195e485b59301eb37.tar.gz
SERVER-44715 C++ Unit Tests cannot be filtered by test file
Diffstat (limited to 'src/mongo/executor')
-rw-r--r--src/mongo/executor/task_executor_test_common.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/executor/task_executor_test_common.cpp b/src/mongo/executor/task_executor_test_common.cpp
index 00099492376..c3f31005a65 100644
--- a/src/mongo/executor/task_executor_test_common.cpp
+++ b/src/mongo/executor/task_executor_test_common.cpp
@@ -525,6 +525,7 @@ void addTestsForExecutor(const std::string& suiteName, ExecutorFactory makeExecu
auto& suite = unittest::Suite::getSuite(suiteName);
for (auto testCase : executorTestCaseRegistry()) {
suite.add(str::stream() << suiteName << "::" << testCase.first,
+ __FILE__,
[testCase, makeExecutor] { testCase.second(makeExecutor)->run(); });
}
}