[flashrom-gerrit] [M] Change in flashrom[master]: [RFC] tests: Replace pre-processor ifdefs with weak functions