Add support for cmocka assert testing by overriding REQUIRE/INSIST/... macros...

Add support for cmocka assert testing by overriding REQUIRE/INSIST/... macros when UNIT_TESTING is defined

(cherry picked from commit 52731c00)
18 jobs for 250-integrate-cmocka-into-our-build-scripts-v9_11 in 13 minutes and 2 seconds (queued for 5 seconds)
Status Job ID Name Coverage
  Precheck
passed precheck:debian:sid:amd64 #89277
amd64 docker linux

00:00:17

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

00:02:25

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

00:02:38

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

00:03:18

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

00:03:31

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

00:03:19

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

00:00:51

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

00:02:41

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

00:05:31

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

00:01:05

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

00:04:28

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

00:04:32

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

00:09:12

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

00:09:05

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

00:01:03

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

00:01:05

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

00:01:06

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

00:00:55