Menu
Logged-In As
ACCOUNTNot Logged In
Run CoreInterface unit testBRL-CAD
Status: ClosedTime to complete:
100 hrs
Mentors: Popescu Andrei, Daniel_R
This is a follow-on task to https://www.google-melange.com/gci/task/view/google/gci2014/5832406154084352.
The C++ Object-oriented API, called CoreInterface aims to provide an easier-to-use, object-oriented interface over the very powerful BRL-CAD core.
You can check out the core interface code from our subversion repository: svn checkout https://svn.code.sf.net/p/brlcad/code/rt^3/trunk rt^3
- Apply the patch from https://www.google-melange.com/gci/task/view/google/gci2014/5832406154084352.
- Build the core interface test (make tester_ci_primitives). This is the most challenging part because you have to fix all the errors to make it compile.
- Run the test (make test).
- Provide a file with the corrected patch from the previous task and the output of the test run.
- https://www.google-melange.com/gci/task/view/google/gci2014/5832406154084352
- http://brlcad.org/wiki/BRL-CAD%27s_core_C%2B%2B_interface
Uploaded Work
File name/URL | File size | Date submitted | |
---|---|---|---|
http://www.google.com/ | n/a | January 19 2015 08:38 UTC | |
Sphere.cpp | 5.4 KB | January 19 2015 13:52 UTC |
I would like to work on this task.
This task has been assigned to Marc Tannous. You have 43 hours to complete this task, good luck!
-
The work on this task is ready to be reviewed.
had to upload something to mark task completed. Explained Andrei over IRC my situation, patch applies perfectly but there might be an issue with the repo or make on my machine, wanted to mark it as complete now because I'll be in school until the gci ends so I can't submit anything else.
One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy the requirements needed to complete this task, submit your work again and mark the task as complete once you re-submit your work.
The deadline of the task has been extended with 2 days and 0 hours.
Task wasn't to apply the patch but to run the unit test. You wrote the patch by yourself, so applying it shouldn't be a problem for you. But did you compile it?
Pinged you with the issue..got a fresh repo and tried making the tests, but there is an issue. Can you please tell me if it is only on my machine?
First you have to compile brlcad, then the core interface, then the test. What did you compiled until now?
BTW, I saw your question on IRC but after 10 min you quit.
marc@marc-To-be-filled-by-O-E-M:~/clean/rt3build$ make tester_ci_primitives
[ 88%] Built target coreinterface
Scanning dependencies of target tester_ci_primitives
[ 92%] Building CXX object tests/coreInterface/CMakeFiles/tester_ci_primitives.dir/Sphere.o
Linking CXX executable ../../tests-bin/tester_ci_primitives
[100%] Built target tester_ci_primitives
Uploaded is a new "Sphere.cpp", which fixes all the errors that applying the patch caused with the test ( stuff like functions/constructors/methods not being properly capitalized or libraries not being included). It's been a great GCI, I enjoyed every day of it.
Regards,
Marc
The work on this task is ready to be reviewed.
Congratulations, this task has been completed successfully.