Custom slicer Ctest failed

I ran into this issue when I was performing automated tests with ctest
command line:“D:\cmake\bin\ctest.exe” -C Release -V -R “custommodule”
error: [D:/DSI/slicer-build/bin/Release/CustomApp-real.exe] exit abnormally - Report the problem.

Expect someone to tell me how to fix or bypass this b