Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
plfiorini committed Apr 29, 2018
2 parents 4c45147 + c576094 commit 80b0e78
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .travis/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@ qbs -d build -j $(nproc) --all-products profile:travis-qt5 \
modules.lirideployment.prefix:/usr \
modules.lirideployment.libDir:/usr/lib/x86_64-linux-gnu \
modules.lirideployment.qmlDir:/usr/lib/x86_64-linux-gnu/qt5/qml \
modules.lirideployment.pluginsDir:/usr/lib/x86_64-linux-gnu/qt5/plugins
modules.lirideployment.pluginsDir:/usr/lib/x86_64-linux-gnu/qt5/plugins \
project.autotestEnabled:false
travis_end "build"
2 changes: 1 addition & 1 deletion src/udev/udev.qbs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ LiriModuleProject {
LiriModule {
name: root.moduleName
targetName: root.targetName
version: "0.0.0"
version: "1.0.0"

Depends { name: root.headersName }
Depends {
Expand Down
11 changes: 11 additions & 0 deletions tests/auto/auto.qbs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,17 @@ Project {
environment: {
var env = base;
env.push("LD_LIBRARY_PATH=" + FileInfo.joinPaths(qbs.installRoot, qbs.installPrefix, lirideployment.libDir));

var found = false;
for (var i in env) {
if (env[i].startsWith("XDG_RUNTIME_DIR=")) {
found = true;
break;
}
}
if (!found)
env.push("XDG_RUNTIME_DIR=/tmp");

return env;
}
}
Expand Down
2 changes: 2 additions & 0 deletions tests/auto/udev/tst_udev.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ private Q_SLOTS:
if (error)
QFAIL(error->message);
umockdev_testbed_enable(m_bed);

QVERIFY(umockdev_in_mock_environment());
}

void cleanupTestCase()
Expand Down

0 comments on commit 80b0e78

Please sign in to comment.