Gentoo Archives: gentoo-commits

From: Alon Bar-Lev <alonbl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/tpm2-abrmd/files/
Date: Thu, 17 Jan 2019 22:10:26
Message-Id: 1547763009.904df96a0ef54656d6bc7fa5ce90bc452416d91c.alonbl@gentoo
1 commit: 904df96a0ef54656d6bc7fa5ce90bc452416d91c
2 Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 17 22:09:13 2019 +0000
4 Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 17 22:10:09 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=904df96a
7
8 app-crypt/tpm2-abrmd: succeed tests without X
9
10 Closes: https://bugs.gentoo.org/show_bug.cgi?id=675738
11 Signed-off-by: Alon Bar-Lev <alonbl <AT> gentoo.org>
12 Package-Manager: Portage-2.3.51, Repoman-2.3.11
13
14 .../tpm2-abrmd/files/tpm2-abrmd-2.0.3-build.patch | 39 ++++++++++++++++++++++
15 1 file changed, 39 insertions(+)
16
17 diff --git a/app-crypt/tpm2-abrmd/files/tpm2-abrmd-2.0.3-build.patch b/app-crypt/tpm2-abrmd/files/tpm2-abrmd-2.0.3-build.patch
18 index 72e823405e9..07c607579f1 100644
19 --- a/app-crypt/tpm2-abrmd/files/tpm2-abrmd-2.0.3-build.patch
20 +++ b/app-crypt/tpm2-abrmd/files/tpm2-abrmd-2.0.3-build.patch
21 @@ -30,3 +30,42 @@ index ecbc3bb..5973ff5 100644
22
23 AC_SUBST([PATH])
24
25 +From 353c5e962f46e3739b1e92cbf6b1f3eb500157fc Mon Sep 17 00:00:00 2001
26 +From: Alon Bar-Lev <alon.barlev@×××××.com>
27 +Date: Thu, 17 Jan 2019 23:56:50 +0200
28 +Subject: [PATCH] tests: run without X
29 +
30 +Solves:
31 +
32 +$ DISPLAY= make check
33 +
34 +FAIL: test/tss2-tcti-tabrmd_unit
35 +
36 +** (process:17633): CRITICAL **: 23:53:22.403: failed to allocate dbus proxy object:
37 +Error spawning command line ?dbus-launch --autolaunch=4f9189e347d5cdf343
38 +
39 +Signed-off-by: Alon Bar-Lev <alon.barlev@×××××.com>
40 +
41 +https://github.com/tpm2-software/tpm2-abrmd/pull/577
42 +---
43 + .travis.yml | 2 +-
44 + Makefile.am | 3 ++-
45 + 2 files changed, 3 insertions(+), 2 deletions(-)
46 +
47 +diff --git a/Makefile.am b/Makefile.am
48 +index b32a5fb..2598f13 100644
49 +--- a/Makefile.am
50 ++++ b/Makefile.am
51 +@@ -76,7 +76,8 @@ XFAIL_TESTS = \
52 + TEST_EXTENSIONS = .int
53 + AM_TESTS_ENVIRONMENT = \
54 + TEST_FUNC_LIB=$(srcdir)/scripts/int-test-funcs.sh \
55 +- PATH=./src:$(PATH)
56 ++ PATH=./src:$(PATH) \
57 ++ dbus-launch
58 + INT_LOG_COMPILER = $(srcdir)/scripts/int-test-setup.sh
59 + INT_LOG_FLAGS = --tabrmd-tcti=$(TABRMD_TCTI)
60 +
61 +--
62 +2.19.2
63 +