mv_machine_learning: clearing up resources in the beginning of each test case
authorVibhav Aggarwal <v.aggarwal@samsung.com>
Fri, 13 Oct 2023 05:27:01 +0000 (14:27 +0900)
committerKwanghoon Son <k.son@samsung.com>
Wed, 25 Oct 2023 01:54:03 +0000 (10:54 +0900)
commitbea1104b382c582b14edf60673127a2682bd354f
tree25c3182db420fac5a630f3b5841baaa887a5745c
parentaa50558725521c34171efd0196368ab4cdaea4f6
mv_machine_learning: clearing up resources in the beginning of each test case

[Issue type] : bug fix

The RemoveModelResources() function is being called at the end
of the testcases to remove the model files. However, when a
test case fails due to failed assertion, the model files are not
getting removed and this can affect the next testcase.
This patch removes the model files in the beginning as well.

Change-Id: Ib94e894f168c35fe783f6195366369e1b8d18dd5
Signed-off-by: Vibhav Aggarwal <v.aggarwal@samsung.com>
test/testsuites/machine_learning/face_recognition/test_face_recognition.cpp