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-08-26 11:50:53 +0200
commit915e94d04108ca22b39dd7ca3b0116836b4cce3c (patch)
tree5a75109d49b0852c4601a92f37f897cdc6a751bd
parent604dcbafc5e9248dfa202b851982a7b46b9ee227 (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