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-01-20 09:09:35 +0100
commit95a3d973e8cef3c30ad963b5beaff9a5006411fd (patch)
tree3789a538a8703cc36983fa997b80814c118fdb62
parent808bc331a3df5ce7c0d90c3c8ab8571504e62777 (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