fwupd/plugins/test
Richard Hughes c4b7f42e43 Only compress one version of the builtin-quirks
Saving the quirks in the GResource section worked well, but it made the build
system very complicated and also meant the .data section was duplicated in
both `fwupd` and `fwupdtool` -- negating a lot of the hard-fought savings.

Simplify this feature so that we just `cat` all the quirk files together, then
gzip them into a single file. This means that at startup fwupd only needs to
check the mtime of one file, and weirdly it's actually faster to load a smaller
compressed file from disk that it is to load multiple uncompressed files.
2022-09-27 12:44:04 +01:00
..
fu-plugin-invalid.c Speed up the daemon startup by ~2% by doing dlsym much less 2021-11-09 12:02:07 +00:00
fu-plugin-test-ble.c Speed up the daemon startup by ~2% by doing dlsym much less 2021-11-09 12:02:07 +00:00
fu-plugin-test.c Allow plugins and backends to print debugging information to the console 2022-07-28 16:10:06 +01:00
fu-test-ble-device.c Show devices that are updatable and payload signing is still unknown 2022-03-02 15:33:42 +00:00
fu-test-ble-device.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
meson.build Only compress one version of the builtin-quirks 2022-09-27 12:44:04 +01:00
README.md trivial: update markdown for pre-commit style 2021-07-18 14:42:47 -05:00
test-ble.quirk Simplify the quirk file format 2021-03-03 08:30:34 +00:00

Test

Introduction

This plugin is used when running the self tests in the fwupd project.

GUID Generation

The devices created by this plugin use hardcoded GUIDs that do not correspond to any kind of DeviceInstanceId values.

In other cases devices use the standard BLE DeviceInstanceId values, e.g.

  • USB\VID_2DC8&PID_AB11

Vendor ID Security

The fake device is only for local testing and thus requires no vendor ID set.

External Interface Access

This plugin requires no extra access.