Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix make test

to not fail due conflicting conf/ulatencyd.conf and simplerules
  • Loading branch information...
commit c2f24246af89dd864d599f9e4b0ede97ba084ce3 1 parent 97c92b6
@gajdusek gajdusek authored
Showing with 8 additions and 1 deletion.
  1. +1 −1  CMakeLists.txt
  2. +7 −0 tests/conf/ulatencyd.conf
View
2  CMakeLists.txt
@@ -227,7 +227,7 @@ install(FILES scripts/update-user-apps.sh
enable_testing()
set(CMAKE_CTEST_COMMAND "ctest -V")
-add_test(lua_tests src/ulatencyd -r tests --rule-pattern test.lua -v -v -v)
+add_test(lua_tests src/ulatencyd -c tests/conf/ulatencyd.conf -r tests --rule-pattern test.lua -v -v -v)
# dbus dtd is outdated :-(
#add_test(dbus_config CONFIGURATIONS Debug
# COMMAND xmllint --loaddtd --valid conf/org.quamquam.ulatencyd.conf)
View
7 tests/conf/ulatencyd.conf
@@ -0,0 +1,7 @@
+[core]
+disabled_rules=
+disabled_modules=xwatch;simplerules;netlink_fallback;netlink
+
+[simplerules]
+rules_files=tests/conf/simple.conf
+rules_dirs=tests/conf/simple.d
Please sign in to comment.
Something went wrong with that request. Please try again.