File: flaky-p2p.patch

package info (click to toggle)
fwupd 2.0.17-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 32,148 kB
  • sloc: ansic: 271,872; python: 11,323; xml: 9,357; sh: 1,590; makefile: 167; cpp: 19; asm: 11; javascript: 9
file content (17 lines) | stat: -rw-r--r-- 475 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Skip flaky tests
Forwarded: not-needed
Author: Mario Limonciello <superm1@gmail.com>

Index: fwupd/data/tests/fwupdmgr-p2p.sh
===================================================================
--- fwupd.orig/data/tests/fwupdmgr-p2p.sh
+++ fwupd/data/tests/fwupdmgr-p2p.sh
@@ -3,6 +3,8 @@
 exec 0>/dev/null
 exec 2>&1
 
+if [ -z "${DEB_ALLOW_FLAKY_TESTS}" ]; then exit 0; fi
+
 # only run as root, possibly only in CI
 if [ "$(id -u)" -ne 0 ]; then exit 0; fi