Skip to content

Commit 24534f7

Browse files
Display cmake target on error (#3654)
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
1 parent 3987931 commit 24534f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmake/test/src/cmake.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def assert_process_success(data_object, errors_ok=False, targets=None):
123123
for target, output in filtered:
124124
return_code, stdout, stderr = output
125125
assert return_code == 0, f"CMake failed building '{target}'"
126-
assert stdout, "CMake generated no standard out building '{target}'"
126+
assert stdout, f"CMake generated no standard out building '{target}'"
127127

128128

129129
def get_build(

0 commit comments

Comments
 (0)