[tracker-oci-images/sam/umockdev] Add umockdev
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-oci-images/sam/umockdev] Add umockdev
- Date: Fri, 22 May 2020 19:50:30 +0000 (UTC)
commit 8c17e2900b4925d8eb3b39af62bcf894060346c8
Author: Sam Thursfield <sam afuera me uk>
Date: Fri May 22 21:49:12 2020 +0200
Add umockdev
This can be used in the Tracker testsuite to simulate power management
and removable devices.
debian/prepare.sh | 3 +++
fedora/prepare.sh | 6 +++---
2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/debian/prepare.sh b/debian/prepare.sh
index c0e920a..057af10 100644
--- a/debian/prepare.sh
+++ b/debian/prepare.sh
@@ -11,6 +11,9 @@ apt-get -yq update && apt-get -yq upgrade
apt-get -yq build-dep tracker tracker-miners
+# Test suite dependencies
+apt-get -yq libumockdev-dev
+
# For building manpages and website.
apt-get -yq install --no-install-recommends asciidoc-base
diff --git a/fedora/prepare.sh b/fedora/prepare.sh
index 2a02057..66636c7 100644
--- a/fedora/prepare.sh
+++ b/fedora/prepare.sh
@@ -30,15 +30,15 @@ dnf install -y gstreamer1-plugins-good
dnf install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E
%fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E
%fedora).noarch.rpm
dnf install -y --setopt=install_weak_deps=False gstreamer1-libav
+# Test suite dependencies
+dnf install -y python3-gobject umockdev-devel
+
# Git is needed to clone tracker as a subproject when building tracker-miners.
dnf install -y git
# We need to be able to run tests as a normal user, not 'root'.
useradd -Um tracker
-# This is needed for the functional-tests.
-dnf install -y python3-gobject
-
# These are needed to use Address Sanitizer and Undefined Behaviour Sanitizer
# when building for extra safety checks.
dnf install -y libasan libubsan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]