Use cmocka_set_message_output as test function for cmocka presence

(cherry picked from commit 0158c1a4)
18 jobs for 351-fix-with-cmocka=path-build-v9_12 in 8 minutes and 27 seconds (queued for 13 seconds)
Status Job ID Name Coverage
  Precheck
passed precheck:debian:sid:amd64 #89592
amd64 docker linux

00:00:18

 
  Build
passed build:centos:centos6:amd64 #89593
amd64 docker linux

00:02:40

passed build:centos:centos7:amd64 #89594
amd64 docker linux

00:02:49

passed build:debian:sid:amd64 #89595
amd64 docker linux

00:02:01

passed build:debian:sid:i386 #89596
i386 docker linux

00:02:04

passed noassert:build:debian:sid:amd64 #89597
amd64 docker linux

00:02:02

 
  Test
passed docs:debian:sid:amd64 #89598
amd64 docker linux

00:00:58

passed install:debian:sid:amd64 #89607
amd64 docker linux

00:03:22

passed noassert:systemtest:debian:sid:amd64 #89609
amd64 docker linux

00:04:53

passed noassert:unittest:debian:sid:amd64 #89608
amd64 docker linux

00:00:55

passed systemtest:centos:centos6:amd64 #89603
amd64 docker linux

00:04:59

passed systemtest:centos:centos7:amd64 #89604
amd64 docker linux

00:04:48

passed systemtest:debian:sid:amd64 #89605
amd64 docker linux

00:04:59

passed systemtest:debian:sid:i386 #89606
i386 docker linux

00:04:55

passed unittest:centos:centos6:amd64 #89599
amd64 docker linux

00:01:10

passed unittest:centos:centos7:amd64 #89600
amd64 docker linux

00:01:10

passed unittest:debian:sid:amd64 #89601
amd64 docker linux

00:01:02

passed unittest:debian:sid:i386 #89602
i386 docker linux

00:00:48