Fix any failing unit test #8BRL-CAD
Status: ClosedTime to complete: 100 hrs Mentors: Deepak, Hardeep Singh RaiTags: c, validation, code, testing, verification

We have a lot of unit tests. These tests help ensure proper functionality. Sometimes we add new tests and either 1) the test itself has an error or 2) the test exposes an error in our implementation. We have a few right now that report an error and someone needs to figure out if it's because of reason #1 or reason #2, and then fix the error so the test succeeds.

We will keep adding more tasks like this until there are no more failures. There are also tasks for adding more unit tests.

This task involves compiling BRL-CAD, running "make test", and fixing any of the failing unit tests properly. Your fix should repair all of the issues in any given file.

You'll want to first build BRL-CAD from a source tree checkout (see http://brlcad.org/wiki/Compiling) either directly from our repository or using the provided virutal machine (see http://brlcad.org/wiki/Deuces for setup instructions). Compile BRL-CAD, then run our unit tests ("make test" on unix, or select the "test" target on other platforms).

Make sure any changes you make compile cleanly and fix the error.

Submit a summary analysis / description of what the error you fixed was, why it was failing, and what you did to fix it.

Submit your changes as a patch file (you can run "svn diff my_changes.patch").

References:
  • http://brlcad.org/wiki/Compiling
  • http://brlcad.org/wiki/Deuces
Modify:
  • The tests are all in subdirectories, so you can find them easily:
  • src/libbu/tests
  • src/libbn/tests
  • src/librt/tests
  • etc... fix one that is failing.
Uploaded Work
File name/URLFile sizeDate submitted
task-40-fix-quat-tests.diff368 bytesDecember 24 2014 15:14 UTC
Comments
Szkocsovszki Zsolton December 9 2014 16:51 UTCTask Claimed

I would like to work on this task.

Deepak on December 9 2014 16:53 UTCTask Assigned

This task has been assigned to Szkocsovszki Zsolt. You have 100 hours to complete this task, good luck!

Szkocsovszki Zsolton December 9 2014 16:56 UTCQuestion

I've built the BRL-CAD.


So now I have to choose ONE failing file, modify, write a summary and submit a patch?


Or do I have to modify ALL the failing files?

Szkocsovszki Zsolton December 10 2014 13:47 UTCUnderstanding

My language is hungarian and I don't understand everything on English. Because of that I need some help to understand the task.


I would like to ask you to answer my question and I don't know, when I find a failing file, how will I know, how to modify the error. Are there any examples for it?

Melange on December 13 2014 20:53 UTCTask Reopened

Melange has detected that the final deadline has passed and it has reopened the task.

Szkocsovszki Zsolton December 13 2014 20:53 UTCTask Claimed

I would like to work on this task.

Gauravjeet Singh on December 14 2014 02:37 UTCTask Assigned

This task has been assigned to Szkocsovszki Zsolt. You have 100 hours to complete this task, good luck!

Melange on December 18 2014 06:37 UTCTask Reopened

Melange has detected that the final deadline has passed and it has reopened the task.

Andromeda Galaxyon December 24 2014 15:12 UTCTask Claimed

I would like to work on this task.

Ch3ck on December 24 2014 15:13 UTCTask Assigned

This task has been assigned to Andromeda Galaxy. You have 100 hours to complete this task, good luck!

Andromeda Galaxyon December 24 2014 15:14 UTCReady for review

The work on this task is ready to be reviewed.

Ch3ck on December 24 2014 15:38 UTC

Nice catch

Ch3ck on December 24 2014 15:49 UTCTask Closed

Congratulations, this task has been completed successfully.