Skip to content

Commit

Permalink
System test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarlesky committed Feb 23, 2024
1 parent 0241cd5 commit 4e4c66b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/gcov/gcov_test_cases_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def can_create_html_report
FileUtils.cp test_asset_path("test_example_file_success.c"), 'test/'

output = `bundle exec ruby -S ceedling gcov:all`
expect(output).to match(/Creating HTML coverage report in 'build\/artifacts\/gcov\/gcovr'\.\.\./)
expect(output).to match(/Generating HTML coverage report in 'build\/artifacts\/gcov\/gcovr'\.\.\./)
expect(File.exist?('build/artifacts/gcov/gcovr/GcovCoverageResults.html')).to eq true
end
end
Expand Down Expand Up @@ -216,7 +216,7 @@ def can_create_gcov_html_report_from_crashing_test_runner_with_enabled_debug_and
expect(output).to match(/IGNORED:\s+0/)
expect(output).to match(/example_file.c \| Lines executed:50.00% of 4/)

expect(output).to match(/Creating HTML coverage report in 'build\/artifacts\/gcov\/gcovr'\.\.\./)
expect(output).to match(/Generating HTML coverage report in 'build\/artifacts\/gcov\/gcovr'\.\.\./)
expect(output).to match(/Done/)
expect(File.exist?('build/artifacts/gcov/gcovr/GcovCoverageResults.html')).to eq true
end
Expand Down Expand Up @@ -247,7 +247,7 @@ def can_create_gcov_html_report_from_crashing_test_runner_with_enabled_debug_and
expect(output).to match(/IGNORED:\s+0/)
expect(output).to match(/example_file.c \| Lines executed:0.00% of 4/)

expect(output).to match(/Creating HTML coverage report in 'build\/artifacts\/gcov\/gcovr'\.\.\./)
expect(output).to match(/Generating HTML coverage report in 'build\/artifacts\/gcov\/gcovr'\.\.\./)
expect(output).to match(/Done/)
expect(File.exist?('build/artifacts/gcov/gcovr/GcovCoverageResults.html')).to eq true
end
Expand Down Expand Up @@ -282,7 +282,7 @@ def can_create_gcov_html_report_from_test_runner_with_enabled_debug_and_cmd_args
expect(output).to match(/IGNORED:\s+0/)
expect(output).to match(/example_file.c \| Lines executed:100.00% of 4/)

expect(output).to match(/Creating HTML coverage report in 'build\/artifacts\/gcov\/gcovr'\.\.\./)
expect(output).to match(/Generating HTML coverage report in 'build\/artifacts\/gcov\/gcovr'\.\.\./)
expect(output).to match(/Done/)
expect(File.exist?('build/artifacts/gcov/gcovr/GcovCoverageResults.html')).to eq true
end
Expand Down

0 comments on commit 4e4c66b

Please sign in to comment.