Skip to content

Commit

Permalink
Enable filepath filter for runner
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexDenisov authored and AlexDenisov committed Feb 12, 2022
1 parent 19540eb commit a32016b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions include/mull/Filters/Filters.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#pragma once

#include "Filter.h"
#include <memory>
#include <vector>

namespace mull {
Expand Down
2 changes: 1 addition & 1 deletion tests/DriverTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ TEST(Driver, RunningWithNoTests) {
Toolchain toolchain(diagnostics, configuration);

Program program({});
Filters filters;
Filters filters(configuration, diagnostics);
Driver driver(diagnostics, configuration, program, toolchain, filters, finder);

auto result = driver.run();
Expand Down
1 change: 1 addition & 0 deletions tools/mull-runner/mull-runner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ int main(int argc, char **argv) {

mull::Filters filters(configuration, diagnostics);
filters.enableGitDiffFilter();
filters.enableFilePathFilter();

mull::MutantExtractor mutantExtractor(diagnostics);
std::vector<std::unique_ptr<mull::Mutant>> mutants =
Expand Down

0 comments on commit a32016b

Please sign in to comment.