Richard Hughes
9d37e447a1
Convert the device test script to a fwupdmgr subcommand
...
This allows us to do a few things:
* Remove the runtime dep on Python 3, which is tricky for ChromeOS
* Test composite devices more efficiently, only writing once per test
* Automatically upload signed reports for successful device tests.
2021-09-16 15:01:36 +01:00
Richard Hughes
a5a978b3f6
Rename some confusing API
...
More than one person has asked about 'why call fu_plugin_update() for a
reinstall or downgrade' and I didn't have a very good answer.
The plugin API is not officially stable, and we should fix things to be
less confusing. Use the same verbs as the FuDevice vfuncs instead.
2021-08-06 19:49:53 +01:00
Mario Limonciello
5de5dd3582
Install the installed tests
...
Move binaries out of fwupd tree to https://github.com/fwupd/fwupd-test-firmware
Fixes some of https://github.com/fwupd/fwupd/issues/1956
2020-08-28 10:10:43 -05:00
Richard Hughes
297d1598ef
trivial: Only dlopen the test plugin once
...
This causes problems in the self tests when not lazy-loading symbols.
Also use g_build_filename() for the paths to be more portable and readable.
2019-12-01 20:59:19 +00:00
Mario Limonciello
15e4b0caaf
installed-tests: Adjust to actually use a remote for installed tests
...
By using a remote, this should allow using gnome-software to do the
installed tests without hacking around much.
Fixes: https://github.com/hughsie/fwupd/issues/862
Fixes: https://github.com/hughsie/fwupd/issues/809
2018-11-29 09:40:06 -06:00
Mario Limonciello
8600b644df
trivial: debian: ignore library-not-linked-against-libc
...
lintian is showing false positives. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896012
for more details.
2018-04-23 10:29:48 -05:00
Richard Hughes
e8c3ce249c
trivial: Bump the plugin location after the FwupdResult change
2017-09-19 09:55:28 +01:00
Mario Limonciello
aa20ca2e7a
trivial: debian: clarify why installed tests get installed in a generic directory ( Closes : #872458 )
2017-08-17 12:05:29 -05:00
Mario Limonciello
f6005940e6
debian: enable test suite via /etc/fwupd.conf
2017-07-17 14:46:50 -05:00
Mario Limonciello
43775d03f9
debian: use dpkg-divert to adjust the launch script for CI testing
...
This means that if someone wants to use the test inteface with
packages, no hacky launching needed.
Just:
2017-06-22 14:44:58 -05:00
Mario Limonciello
6db2a4057c
debian: split out the test suite to it's own package
...
Most people won't be running the installed-tests, but make it
easy enough for them to get at them if they want to
2017-06-22 13:59:14 -05:00