Added check()
This commit is contained in:
parent
36d9b37b63
commit
57e5793c4f
2 changed files with 13 additions and 1 deletions
2
.SRCINFO
2
.SRCINFO
|
@ -1,5 +1,5 @@
|
|||
# Generated by mksrcinfo v8
|
||||
# Fri Dec 8 17:16:24 UTC 2017
|
||||
# Thu Jan 4 22:50:45 UTC 2018
|
||||
pkgbase = ignition-math
|
||||
pkgdesc = Math classes and functions for robot applications
|
||||
pkgver = 3.3.0
|
||||
|
|
12
PKGBUILD
12
PKGBUILD
|
@ -34,6 +34,18 @@ build() {
|
|||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$srcdir/$_dir/build"
|
||||
|
||||
cmake .. -DCMAKE_BUILD_TYPE="Release" \
|
||||
-DCMAKE_INSTALL_PREFIX="/usr" \
|
||||
-DCMAKE_INSTALL_LIBDIR="lib" \
|
||||
-DENABLE_TESTS_COMPILATION:BOOL=True
|
||||
|
||||
make
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_dir/build"
|
||||
make DESTDIR="$pkgdir/" install
|
||||
|
|
Loading…
Reference in a new issue