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