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

Improve test cases #48

Closed
joachimwolff opened this issue Jan 27, 2017 · 1 comment
Closed

Improve test cases #48

joachimwolff opened this issue Jan 27, 2017 · 1 comment

Comments

@joachimwolff
Copy link

The test cases do not cover everything.

  • I have the issue that I know intaRNA is crashing somewhere and returns 'nothing' as an output but all test cases are passing.
@martin-raden
Copy link
Member

IntaRNA catches all exceptions raised during computation.

In order to check for a bug during development you have to

  • compile with debug information (to enable extended sanity checks)
  • run gdb src/bin/IntaRNA
  • add catch throw such that gdb stops when an exception is raised
  • add run YOURPARAMETERS to start the computation that crashes
  • add bt to backtrack the crash reason

and yes... the test cases do not cover everything (and will never do.. 😃 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants