Author Topic: Saving the CCTest result file in the code repo for regression test  (Read 281 times)

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5161
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Just FYI:

In recent commits(around rev 11520), I added a file: \src\plugins\codecompletion\testing\codecompletion_test_result.txt in our code repo, which is the testing result of CCTest. So when you change some code in our CC's parser, you should run the CCTest again, and see whether there are some regression shown in the codecompletion_test_result.txt.

Hopefully, we will have more PASS, and less FAIL in the txt file.  ;)
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.