The following commit has been merged in the experimental/master branch:
commit 05147b6734c703178fa49f234446a21c32dd65d9
Author: Lifeng Sun <lifong...@gmail.com>
Date:   Sun Jul 28 15:41:20 2013 +0800

    Fix time test.

diff --git a/debian/changelog b/debian/changelog
index a82832d..f0b0ccf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ janest-core (109.35.00-1~exp1) UNRELEASED; urgency=low
 
   * New upstream release.
   * Add myself to Uploaders.
+  * New patch: fix-time-test.patch.
 
  -- Lifeng Sun <lifong...@gmail.com>  Fri, 26 Jul 2013 08:39:04 +0800
 
diff --git a/debian/patches/fix-time-test.patch 
b/debian/patches/fix-time-test.patch
new file mode 100644
index 0000000..0cda9dd
--- /dev/null
+++ b/debian/patches/fix-time-test.patch
@@ -0,0 +1,13 @@
+FIx time test.
+
+--- a/lib_test/time_test.ml
++++ b/lib_test/time_test.ml
+@@ -56,7 +56,7 @@
+       "sexp1"  @? (Time.t_of_sexp (Time.sexp_of_t time1) = time1);
+       "sexp2"  @? (Time.t_of_sexp (Time.sexp_of_t time2) = time2);
+       "sexp3"  @? (Time.t_of_sexp (Time.sexp_of_t time3) = time3);
+-      let date, ofday = Time.to_local_date_ofday time3 in
++      let date, ofday = Time.to_date_ofday time3 (Zone.of_string "nyc") in
+       "date"   @? (date = Date.of_string "2005-05-25");
+       "ofday"  @? (Ofday.(=.) ofday (Time.Ofday.of_string "12:46:15.232"));
+       "ofday1" @? (Time.Ofday.of_string "09:13" = Time.Ofday.of_string 
"0913");
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..985a06e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-time-test.patch

-- 
janest-core packaging

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to