This looks like something very specific to some Renesas lager board.
This test unpacks a tarball called: dung-3.4.25-m2.tar.gz It runs the following scripts on target:
then checks that the log contains "Test passed" exactly $FUNCTIONAL_CMT_LINES_COUNT times
This variable is not defined (would have been nice to test it earlier than in test_processing). I thought maybe another board file would have this, but it appears not to.
If the value is increasing, then it emits "Test passed"
If the value matches, then it emits "Test passed"