From 85bfb8f0eee5db2125bcfef3ed9ecd8f44c5acfc3c4cd9d7a22bc451a2918e9d Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Mon, 13 Jun 2016 21:19:22 +0000 Subject: [PATCH] test OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-cppo?expand=0&rev=17 --- ocaml-cppo.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ocaml-cppo.spec b/ocaml-cppo.spec index 9368307..f57ec9b 100644 --- a/ocaml-cppo.spec +++ b/ocaml-cppo.spec @@ -97,15 +97,23 @@ Executable cppo MainIs: cppo_main.ml CompiledObject: best BuildDepends: unix + +Test cppo + Type: Custom (0.0.1) + Command: ln -sfvbn \$cppo cppo ; make -C test all + Run: true _EOF_ oasis setup -%ocaml_oasis_configure --enable-docs +%ocaml_oasis_configure --enable-docs --enable-tests %ocaml_oasis_build %ocaml_oasis_doc %install %ocaml_oasis_findlib_install +%check +%ocaml_oasis_test + %files %defattr(-,root,root) %doc LICENSE README.md