Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better error handling for test failures #49

Open
drewcrawford opened this issue Jan 26, 2014 · 1 comment
Open

Better error handling for test failures #49

drewcrawford opened this issue Jan 26, 2014 · 1 comment
Assignees
Labels
Milestone

Comments

@drewcrawford
Copy link

When I get a test failure I get the following output:

$ bash run-sonar.sh 
Running run-sonar.sh...
Extracting Xcode project information.
..
Running tests using xctool......open .ERROR - Command 'xctool -project caffeine-ios.xcodeproj -sdk iphonesimulator ARCHS=i386 VALID_ARCHS=i386 CURRENT_ARCH=i386 ONLY_ACTIVE_ARCH=NO -scheme caffeine-ios -reporter junit GCC_GENERATE_TEST_COVERAGE_FILES=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES test' failed with error code: 

So some problems with this output:

  1. It seems that it was intended that an error code be reported in this case, but one isn't
  2. It seems like the right decision that analysis should continue anyway in the event of a test failure.
@cyrilpicat
Copy link
Contributor

thanks for your feedback.

Your analysis seems right, I look at it as soon as possible, it should be easy to fix.

@ghost ghost assigned cyrilpicat Jan 28, 2014
@cyrilpicat cyrilpicat modified the milestones: 0.4.1, 0.3.2 Jan 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants