Bug 414371 - CMake tests with PASS_REGULAR_EXPRESSION do not work as expected
Summary: CMake tests with PASS_REGULAR_EXPRESSION do not work as expected
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: CMake (other bugs)
Version First Reported In: 5.4.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-21 16:27 UTC by Rolf Eike Beer
Modified: 2019-11-21 16:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).