1- From df9f3dc3b76fac2dae92e53250cc5ed8ed8f4c8a Mon Sep 17 00:00:00 2001
1+ From 10ef0701cdde200063a73b3db5bfb305a12909c2 Mon Sep 17 00:00:00 2001
22From: Maximilian Luz <
[email protected] >
33Date: Sat, 1 Jun 2019 21:17:15 +0200
44Subject: [PATCH 02/12] Add support for Intel Management Engine bus
@@ -11,8 +11,8 @@ the Microsoft Surface Books, Surface Pro 5 and 6, and Surface Laptops.
1111 libwacom/libwacom.c | 5 +++++
1212 libwacom/libwacom.h | 1 +
1313 test/test-tablet-validity.c | 1 +
14- test/test_data_files.py | 2 +-
15- 5 files changed, 12 insertions(+), 1 deletion(-)
14+ test/test_data_files.py | 1 +
15+ 5 files changed, 12 insertions(+)
1616
1717diff --git a/libwacom/libwacom-database.c b/libwacom/libwacom-database.c
1818index 96aaa5e..cc3ecfd 100644
@@ -84,18 +84,17 @@ index da5fe07..6b45597 100644
8484 g_assert_cmpint(pid, >, 0);
8585 break;
8686diff --git a/test/test_data_files.py b/test/test_data_files.py
87- index 4b21b6a..04a1310 100755
87+ index 476aeca..cc739dd 100755
8888--- a/test/test_data_files.py
8989+++ b/test/test_data_files.py
90- @@ -41,7 +41,7 @@ def test_device_match(tabletfile):
91- continue
92-
93- bus, vid, pid = match.split(':')[:3] # skip the name part of the match
94- - assert bus in ['usb', 'bluetooth', 'i2c', 'serial', 'virt'], f'{tabletfile}: unknown bus type'
95- + assert bus in ['usb', 'bluetooth', 'i2c', 'serial', 'virt', 'mei'], f'{tabletfile}: unknown bus type'
96- assert re.match('[0-9a-f]{4}', vid), f'{tabletfile}: {vid} must be lowercase hex'
97- assert re.match('[0-9a-f]{4}', pid), f'{tabletfile}: {pid} must be lowercase hex'
98-
90+ @@ -47,6 +47,7 @@ def test_device_match(tabletfile):
91+ "i2c",
92+ "serial",
93+ "virt",
94+ + "mei",
95+ ], f"{tabletfile}: unknown bus type"
96+ assert re.match(
97+ "[0-9a-f]{4}", vid
9998- -
100- 2.39 .1
99+ 2.40 .1
101100
0 commit comments