diff options
author | Thomas Heijligen <thomas.heijligen@secunet.com> | 2022-05-09 19:37:36 +0200 |
---|---|---|
committer | Thomas Heijligen <src@posteo.de> | 2022-05-12 08:54:39 +0000 |
commit | f3d09b5997a80a833b4a44ff922a132e8086556f (patch) | |
tree | 31ebe905ecab27b56793d868448c083c28b3c5b3 /subprojects/cmocka.wrap | |
parent | 75c048b224b05dd76fe617094979c4dae4ad8bb9 (diff) | |
download | flashrom-f3d09b5997a80a833b4a44ff922a132e8086556f.tar.gz flashrom-f3d09b5997a80a833b4a44ff922a132e8086556f.tar.bz2 flashrom-f3d09b5997a80a833b4a44ff922a132e8086556f.zip |
tests: Rearange CPP guards
This fixes -Werror=unused-function when not all programmer tests are
build.
`run_basic_lifecycle` and `run_probe_lifecycle` need to have a prototype
to not throw a -Werror=unused-function if no programmer needs them.
Change-Id: I02880e73996b30df618738e86b8a52126fbe5b3b
Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/64224
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Diffstat (limited to 'subprojects/cmocka.wrap')
0 files changed, 0 insertions, 0 deletions