adding dependency on ounit

Reviewed By: cristianoc

Differential Revision: D2979151

fb-gh-sync-id: d68b2c4
shipit-source-id: d68b2c4
master
Sam Blackshear 9 years ago committed by Facebook Github Bot 3
parent 6c567f1104
commit 85747084b5

@ -165,6 +165,7 @@ AC_ASSERT_OCAML_PKG([biniou])
AC_ASSERT_OCAML_PKG([camlzip], [zip]) AC_ASSERT_OCAML_PKG([camlzip], [zip])
AC_ASSERT_OCAML_PKG([easy-format]) AC_ASSERT_OCAML_PKG([easy-format])
AC_ASSERT_OCAML_PKG([extlib], [], [1.5.4]) AC_ASSERT_OCAML_PKG([extlib], [], [1.5.4])
AC_ASSERT_OCAML_PKG([oUnit], [], [2.0.0])
AC_ASSERT_OCAML_PKG([yojson]) AC_ASSERT_OCAML_PKG([yojson])
if test "x$enable_java_analyzers" = "xyes"; then if test "x$enable_java_analyzers" = "xyes"; then

@ -52,7 +52,7 @@ OCAMLBUILD_OPTIONS = \
-cflags -w,$(OCAML_FATAL_WARNINGS)-4-9-40-41-42-45-48-50 \ -cflags -w,$(OCAML_FATAL_WARNINGS)-4-9-40-41-42-45-48-50 \
-tag-line "<*{clang/clang_ast_*,backend/jsonbug_*}>: warn(-27-32-35-39)" \ -tag-line "<*{clang/clang_ast_*,backend/jsonbug_*}>: warn(-27-32-35-39)" \
-tag-line "not <**/{config,iList,utils}.*>: open(Utils)" \ -tag-line "not <**/{config,iList,utils}.*>: open(Utils)" \
-pkgs atdgen,extlib,str,unix,yojson,zip -pkgs atdgen,extlib,oUnit,str,unix,yojson,zip
ifeq (@ENABLE_OCAML_ANNOT@,yes) ifeq (@ENABLE_OCAML_ANNOT@,yes)
OCAMLBUILD_OPTIONS += -cflags -annot OCAMLBUILD_OPTIONS += -cflags -annot

@ -12,4 +12,7 @@
module L = Logging module L = Logging
let () = let () =
L.stdout "All OCaml unit tests passed.@." let open OUnit2 in
let tests = [] in
let test_suite = "all" >::: tests in
OUnit2.run_test_tt_main test_suite

@ -20,6 +20,7 @@ depends: [
"atdgen" {>="1.6.0"} "atdgen" {>="1.6.0"}
"javalib" {>="2.3.1"} "javalib" {>="2.3.1"}
"extlib" {>="1.5.4"} "extlib" {>="1.5.4"}
"oUnit" {>="2.0.0"}
] ]
depexts: [ depexts: [
[ ["ubuntu"] ["python2.7-dev"] ] [ ["ubuntu"] ["python2.7-dev"] ]

Loading…
Cancel
Save