summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Dandrimont <Nicolas.Dandrimont@crans.org>2011-06-11 23:38:24 +0200
committerStéphane Glondu <glondu@debian.org>2020-07-29 13:34:02 +0200
commit7bfc390fc1f551038cd968c5751d681d21cc4a0f (patch)
tree4ce1b5518f943f9ea30bbdbde2f5d4fe05771ecc
parentc2cf6f8233bc7743db82ee2d786cda7042ad190a (diff)
Disable the tests that need a working dbus daemon
Gbp-Pq: Name 0001-Disable-the-tests-that-need-a-working-dbus-daemon.patch
-rw-r--r--tests/main.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/main.ml b/tests/main.ml
index edd960f..cf85171 100644
--- a/tests/main.ml
+++ b/tests/main.ml
@@ -33,7 +33,7 @@ let rec run_tests failures total = function
let%lwt () = title name in
begin
try%lwt
- test ()
+ Lwt_unix.with_timeout 30. test
with exn ->
let%lwt () = Lwt_io.printlf "test failed with: %s" (Printexc.to_string exn) in
let%lwt () = Lwt_io.printl (Printexc.get_backtrace ()) in
@@ -60,8 +60,8 @@ let () = Lwt_main.run begin
run_tests 0 0 [
"serialization", Test_serialization.test;
"string validation", Test_validation.test;
- "authentication", Test_auth.test;
+ (*"authentication", Test_auth.test;
(*"communication", Test_communication.test;*)
- "garbage collection", Test_gc.test;
+ "garbage collection", Test_gc.test;*)
]
end