diff options
Diffstat (limited to 'tooling/bin/find_tests')
-rwxr-xr-x | tooling/bin/find_tests | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/tooling/bin/find_tests b/tooling/bin/find_tests deleted file mode 100755 index 33834064f36..00000000000 --- a/tooling/bin/find_tests +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true - -require 'test_file_finder' - -changes = ARGV.shift -output_file = ARGV.shift - -changed_files = File.read(changes).split(' ') - -tff = TestFileFinder::FileFinder.new(paths: changed_files).tap do |file_finder| - file_finder.use TestFileFinder::MappingStrategies::PatternMatching.load('tests.yml') - - if ENV['RSPEC_TESTS_MAPPING_ENABLED'] - file_finder.use TestFileFinder::MappingStrategies::DirectMatching.load_json(ENV['RSPEC_TESTS_MAPPING_PATH']) - end -end - -File.write(output_file, tff.test_files.uniq.join(' ')) |