diff options
author | Bastien Nocera <hadess@hadess.net> | 2016-11-02 18:30:45 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2016-11-02 18:32:19 +0100 |
commit | 177ea07f3411353d9eb964b4d9c0812685d71738 (patch) | |
tree | 79827fc9816c26bab0be93760f38bf870b60177b | |
parent | 0a942cc5dd79837cdc0c73ffd748f8ac4d778390 (diff) | |
download | libgudev-177ea07f3411353d9eb964b4d9c0812685d71738.tar.gz |
tests: Preload umockdev before running tests
Otherwise it's as if we were outside the test environment, which we
don't want to be.
https://bugzilla.gnome.org/show_bug.cgi?id=773224
-rw-r--r-- | Makefile.decl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.decl b/Makefile.decl index aab33c3..ea39c7a 100644 --- a/Makefile.decl +++ b/Makefile.decl @@ -1,4 +1,5 @@ -GTESTER = gtester # in $PATH for non-GLIB packages +# Note, we need this set for umockdev to be available in tests +GTESTER = env LD_PRELOAD=libumockdev-preload.so.0: gtester # in $PATH for non-GLIB packages GTESTER_REPORT = gtester-report # in $PATH for non-GLIB packages # initialize variables for unconditional += appending |