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_12 in 8 minutes and 13 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Precheck
passed precheck:debian:sid:amd64 #89237
docker linux amd64

00:00:17

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

00:02:01

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

00:02:11

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

00:02:45

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

00:02:55

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

00:02:32

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

00:00:48

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

00:01:38

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

00:04:57

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

00:00:45

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

00:04:51

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

00:04:50

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

00:04:47

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

00:04:52

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

00:01:00

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

00:00:54

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

00:00:44

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

00:00:51