Displaying 3 results from an estimated 3 matches for "1363149_l".
2015 Jan 22
3
[PATCH 1/2] configure: look for the oUnit OCaml module
It will be used for the OCaml unit tests.
---
configure.ac | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/configure.ac b/configure.ac
index e0fb481..e360bbb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1120,6 +1120,7 @@ AS_IF([test "x$OCAMLC" != "xno"],[
])
OCAML_PKG_gettext=no
+OCAML_PKG_oUnit=no
AS_IF([test "x$OCAMLC" != "xno"],[
#
2015 Jan 22
0
[PATCH 2/2] mllib: convert common_utils_tests to oUnit
...ssert_equal_string "1.0K" (human_size 1024_L);
+ assert_equal_string "-1.0K" (human_size (-1024_L));
+ assert_equal_string "1.1K" (human_size 1126_L);
+ assert_equal_string "-1.1K" (human_size (-1126_L));
+ assert_equal_string "1.3M" (human_size 1363149_L);
+ assert_equal_string "-1.3M" (human_size (-1363149_L));
+ assert_equal_string "3.4G" (human_size 3650722201_L);
+ assert_equal_string "-3.4G" (human_size (-3650722201_L))
+
+(* Test Common_utils.string_prefix. *)
+let test_string_prefix () =
+ assert_bool "...
2014 Dec 04
2
[PATCH v3 0/2] v2v: When picking a default kernel, favour non-debug
Since v2:
- Use string_suffix kernel_name "-debug" || string_suffix kernel_name "-dbg"
- This requires addition of the string_suffix function and some tests