Bug 414371

Summary: CMake tests with PASS_REGULAR_EXPRESSION do not work as expected
Product: [Applications] kdevelop Reporter: Rolf Eike Beer <kde>
Component: Build tools: CMakeAssignee: kdevelop-bugs-null
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.4.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Rolf Eike Beer 2019-11-21 16:27:52 UTC
Have a CMake test that exits non-zero but outputs something, and a matching PASS_REGULAR_EXPRESSION in the test properties. When this test is run from the command line (ctest -R my_test) it works and is marked as passed, if it is run from the unit test pane in KDevelop it fails (and looks like the expression isn't used at all).