From 46f2d4e488db66b37e892b8fa621eeed0fe2f284 Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Wed, 20 May 2020 20:10:20 +1000 Subject: tests/: Add CMocka unit-test infrastructure This adds the CMocka unit-testing infrastructure into the meson build system which we will latter follow up with unit-tests for flashrom's core logic. BUG=b:157280555 BRANCH=none TEST=builds Change-Id: I66665f56627b3d99049176bfbebbd771b080370a Signed-off-by: Edward O'Callaghan Reviewed-on: https://review.coreboot.org/c/flashrom/+/41622 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- subprojects/cmocka.wrap | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 subprojects/cmocka.wrap (limited to 'subprojects') diff --git a/subprojects/cmocka.wrap b/subprojects/cmocka.wrap new file mode 100644 index 00000000..21e84f99 --- /dev/null +++ b/subprojects/cmocka.wrap @@ -0,0 +1,10 @@ +[wrap-file] +directory = cmocka-1.1.5 + +source_url = https://cmocka.org/files/1.1/cmocka-1.1.5.tar.xz +source_filename = cmocka-1.1.5.tar.xz +source_hash = f0ccd8242d55e2fd74b16ba518359151f6f8383ff8aef4976e48393f77bba8b6 + +patch_url = https://wrapdb.mesonbuild.com/v1/projects/cmocka/1.1.5/3/get_zip +patch_filename = cmocka-1.1.5-3-wrap.zip +patch_hash = 81ce48613680d3c3a0b396ac570c852b290adcd18202fb16aaf703a9493f4348 -- cgit v1.2.3