From 7f6e0329eda07c44b9bf2a46a6a6334659a1634f Mon Sep 17 00:00:00 2001 From: maxice8 Date: Fri, 23 Feb 2018 02:34:55 -0300 Subject: [PATCH] libtommath: add do_check() --- srcpkgs/libtommath/template | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/srcpkgs/libtommath/template b/srcpkgs/libtommath/template index 0554d665307..fcffada2f1a 100644 --- a/srcpkgs/libtommath/template +++ b/srcpkgs/libtommath/template @@ -23,6 +23,12 @@ do_install() { make -f makefile.shared PREFIX=/usr DESTDIR=${DESTDIR} install } +do_check() { + make test_standalone + + ./test +} + libtommath-devel_package() { depends="${sourcepkg}>=${version}_${revision}" short_desc+=" - development files"