Ceedling icon indicating copy to clipboard operation
Ceedling copied to clipboard

Self tests on latest release are failing

Open marniew325 opened this issue 3 months ago • 2 comments

After following the install steps in the github workflow, I am running 'rake ci' on the latest release of Ceedling but 26/255 tests are failing. Any ideas why?

marniew325 avatar Sep 24 '25 16:09 marniew325

Which tests are failing?

Most likely, it's missing dependencies. Because it's so few tests, I'd guess you're missing gcov or gcovr or something like that, versus something more common like gcc. ;)

mvandervoord avatar Sep 24 '25 16:09 mvandervoord

I have checked the dependencies and I have gcovr. Here are the failed tests:

Finished in 6 minutes 41 seconds (files took 0.31144 seconds to load) 255 examples, 26 failures, 7 pending

Failed examples:

rspec ./spec/gcov/gcov_deployment_spec.rb:44 # Ceedling Gcov basic operations is expected to match /crashed/i rspec ./spec/gcov/gcov_deployment_spec.rb:45 # Ceedling Gcov basic operations is expected to match /Test Case Crashed/i rspec ./spec/gcov/gcov_deployment_spec.rb:46 # Ceedling Gcov basic operations is expected to match 0 rspec ./spec/gcov/gcov_deployment_spec.rb:59 # Ceedling Gcov command: ceedling example temp_sensor temp_sensor should be testable rspec ./spec/gcov/gcov_deployment_spec.rb:79 # Ceedling Gcov command: ceedling example temp_sensor temp_sensor should be able to test a single module (it should INHERIT file-specific flags) rspec ./spec/gcov/gcov_deployment_spec.rb:91 # Ceedling Gcov command: ceedling example temp_sensor temp_sensor should be able to test multiple files matching a pattern rspec ./spec/gcov/gcov_deployment_spec.rb:104 # Ceedling Gcov command: ceedling example temp_sensor temp_sensor should be able to test all files matching in a path rspec ./spec/gcov/gcov_deployment_spec.rb:118 # Ceedling Gcov command: ceedling example temp_sensor temp_sensor should be able to test specific test cases in a file rspec ./spec/system/deployment_as_gem_spec.rb:62 # Ceedling deployed as a gem is expected to match /Test Executable Crashed/i rspec ./spec/system/deployment_as_gem_spec.rb:63 # Ceedling deployed as a gem is expected to match /Test Executable Crashed/i rspec ./spec/system/deployment_as_gem_spec.rb:64 # Ceedling deployed as a gem is expected to match /Test Case Crashed/i rspec ./spec/system/deployment_as_gem_spec.rb:65 # Ceedling deployed as a gem is expected to match /Test Case Crashed/i rspec ./spec/system/deployment_as_gem_spec.rb:66 # Ceedling deployed as a gem is expected to match /Test Case Crashed/i rspec ./spec/system/deployment_as_vendor_spec.rb:65 # Ceedling deployed in a project's vendor directory. is expected to match /Test Executable Crashed/i rspec ./spec/system/deployment_as_vendor_spec.rb:66 # Ceedling deployed in a project's vendor directory. is expected to match /Test Executable Crashed/i rspec ./spec/system/deployment_as_vendor_spec.rb:67 # Ceedling deployed in a project's vendor directory. is expected to match /Test Case Crashed/i rspec ./spec/system/deployment_as_vendor_spec.rb:68 # Ceedling deployed in a project's vendor directory. is expected to match /Test Case Crashed/i rspec ./spec/system/deployment_as_vendor_spec.rb:69 # Ceedling deployed in a project's vendor directory. is expected to match /Test Case Crashed/i rspec ./spec/system/example_temp_sensor_spec.rb:46 # Ceedling command: ceedling example temp_sensor temp_sensor should be testable rspec ./spec/system/example_temp_sensor_spec.rb:56 # Ceedling command: ceedling example temp_sensor temp_sensor should be able to test a single module (it includes file-specific flags) rspec ./spec/system/example_temp_sensor_spec.rb:68 # Ceedling command: ceedling example temp_sensor temp_sensor should be able to test multiple files matching a pattern rspec ./spec/system/example_temp_sensor_spec.rb:81 # Ceedling command: ceedling example temp_sensor temp_sensor should be able to test all files matching in a path rspec ./spec/system/example_temp_sensor_spec.rb:95 # Ceedling command: ceedling example temp_sensor temp_sensor should be able to test specific test cases in a file rspec ./spec/system/example_temp_sensor_spec.rb:109 # Ceedling command: ceedling example temp_sensor temp_sensor should be able to test when using a custom Unity Helper file added by relative-path mixin rspec ./spec/system/example_temp_sensor_spec.rb:120 # Ceedling command: ceedling example temp_sensor temp_sensor should be able to test when using a custom Unity Helper file added by simple-named mixin rspec ./spec/system/example_temp_sensor_spec.rb:131 # Ceedling command: ceedling example temp_sensor temp_sensor should be able to test when using a custom Unity Helper file added by env-named mixin

marniew325 avatar Sep 25 '25 09:09 marniew325