Displaying 4 results from an estimated 4 matches for "0b43684".
Did you mean:
0.3684
2015 May 12
4
[PATCH 1/2] mllib: remove spurious check_SCRIPTS from Makefile.am
Not actually useful, as TESTS defines the tests, and it breaks when
oUnit is not available (as it tries to build an oUnit-based unit test).
---
mllib/Makefile.am | 3 ---
1 file changed, 3 deletions(-)
diff --git a/mllib/Makefile.am b/mllib/Makefile.am
index 0b43684..e363f27 100644
--- a/mllib/Makefile.am
+++ b/mllib/Makefile.am
@@ -132,9 +132,6 @@ libdir.ml: Makefile
# Tests.
-check_SCRIPTS = \
- common_utils_tests
-
if HAVE_OCAMLOPT
common_utils_tests.cmx: OCAMLPACKAGES += $(OCAMLPACKAGES_TESTS)
common_utils_tests: config.cmx common_gettext.cmx commo...
2015 May 12
0
Re: [PATCH 1/2] mllib: remove spurious check_SCRIPTS from Makefile.am
...gt; Not actually useful, as TESTS defines the tests, and it breaks when
> oUnit is not available (as it tries to build an oUnit-based unit test).
> ---
> mllib/Makefile.am | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/mllib/Makefile.am b/mllib/Makefile.am
> index 0b43684..e363f27 100644
> --- a/mllib/Makefile.am
> +++ b/mllib/Makefile.am
> @@ -132,9 +132,6 @@ libdir.ml: Makefile
>
> # Tests.
>
> -check_SCRIPTS = \
> - common_utils_tests
> -
> if HAVE_OCAMLOPT
> common_utils_tests.cmx: OCAMLPACKAGES += $(OCAMLPACKAGES_TESTS)
&...
2015 May 11
3
[PATCH 1/2] mllib: Require OUnit2 for tests.
...ic.escape" >:: test_escape;
+ "examples.qemu" >:: test_qemu;
+ "examples.virt-builder" >:: test_builder;
+ ]
let () =
- Printf.fprintf stderr "\n"
+ run_test_tt_main suite
diff --git a/mllib/Makefile.am b/mllib/Makefile.am
index d5faf19..0b43684 100644
--- a/mllib/Makefile.am
+++ b/mllib/Makefile.am
@@ -165,6 +165,8 @@ if HAVE_OCAML_PKG_OUNIT
TESTS += common_utils_tests JSON_tests
endif
+CLEANFILES += oUnit-*
+
check-valgrind:
$(MAKE) VG="$(top_builddir)/run @VG@" check
diff --git a/mllib/common_utils_tests.ml b/mllib/co...
2015 May 13
3
[PATCH 1/2] build: factor out the OCaml link.sh scripts
...link binary properly. There is no other way to add
-# the -cclib parameter to the end of the command line.
-
-exec "$@" -linkpkg -cclib '-lutils @LIBTINFO_LIBS@ @LIBCRYPT_LIBS@ @LIBVIRT_LIBS@ @LIBXML2_LIBS@ @LIBINTL@ -lgnu'
diff --git a/mllib/Makefile.am b/mllib/Makefile.am
index 0b43684..c7967b8 100644
--- a/mllib/Makefile.am
+++ b/mllib/Makefile.am
@@ -95,6 +95,15 @@ if HAVE_OCAML_PKG_OUNIT
OCAMLPACKAGES_TESTS += -package oUnit
endif
+OCAMLCLIBS = \
+ -lutils \
+ $(LIBTINFO_LIBS) \
+ $(LIBCRYPT_LIBS) \
+ $(LIBVIRT_LIBS) \
+ $(LIBXML2_LIBS) \
+ $(LIBINTL) \
+ -lgnu
+
OCAMLFLA...