mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-08-12 06:07:50 +00:00
Without having 'test' in the results extension we cannot generate junit results,
becuase the unity_to_junit.py script (and others) look for *.result*
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user