diff --git a/scripts/create_makefile.rb b/scripts/create_makefile.rb index 5240730..19efee5 100644 --- a/scripts/create_makefile.rb +++ b/scripts/create_makefile.rb @@ -68,7 +68,7 @@ File.open(TEST_MAKEFILE, "w") do |mkfile| runner_source = File.join(RUNNERS_DIR, "runner_#{module_name}.c") runner_obj = File.join(OBJ_DIR, "runner_#{module_name}.o") test_bin = File.join(TEST_BIN_DIR, module_name) - test_results = File.join(TEST_BIN_DIR, module_name + '.result') + test_results = File.join(TEST_BIN_DIR, module_name + '.testresult') cfg = { src: test, @@ -180,7 +180,7 @@ File.open(TEST_MAKEFILE, "w") do |mkfile| mkfile.puts "" # Create target to run all tests - mkfile.puts "test: #{test_targets.map{|t| t + '.result'}.join(' ')} test_summary" + mkfile.puts "test: #{test_targets.map{|t| t + '.testresult'}.join(' ')} test_summary" mkfile.puts "" end diff --git a/scripts/test_summary.rb b/scripts/test_summary.rb index 3904ad9..ebf8524 100644 --- a/scripts/test_summary.rb +++ b/scripts/test_summary.rb @@ -7,7 +7,7 @@ begin build_dir = ENV.fetch('BUILD_DIR', './build') test_build_dir = ENV.fetch('TEST_BUILD_DIR', File.join(build_dir, 'test')) - results = Dir["#{test_build_dir}/*.result"] + results = Dir["#{test_build_dir}/*.testresult"] parser = UnityTestSummary.new parser.targets = results parser.run