summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTyler Veness2023-06-21 11:14:32 -0700
committerTyler Veness2023-06-21 11:14:32 -0700
commit4bf4889a368ef37c532977b1c6705922ff635f7f (patch)
treebdf4ed4f7695c46a6b6df744d3e7827579086817
parentb59d1abb31d529e19d387675d8e2f84a26467440 (diff)
downloadaur-4bf4889a368ef37c532977b1c6705922ff635f7f.tar.gz
Use ctest's --test-dir flag
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 3 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ef2af39bf664..f0a1c5a55cb1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = wpimath
pkgdesc = WPILib's mathematics and controls library
pkgver = 2023.4.3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/wpilibsuite/allwpilib
arch = x86_64
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index 856ce518131a..b329c536bf1c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=wpimath
pkgver=2023.4.3
-pkgrel=1
+pkgrel=2
pkgdesc="WPILib's mathematics and controls library"
arch=('x86_64')
url='https://github.com/wpilibsuite/allwpilib'
@@ -38,9 +38,8 @@ build() {
}
check() {
- cd build
# wpiutil test failure: JsonComparisonValuesTest.Less
- ctest -E wpiutil --output-on-failure
+ ctest --test-dir build -E wpiutil --output-on-failure
}
package() {