diff options
author | Timothy Gu | 2020-04-05 21:18:40 -0400 |
---|---|---|
committer | Timothy Gu | 2020-04-05 21:18:40 -0400 |
commit | cd64240786cba28521ab27181d91039ed4dba710 (patch) | |
tree | 6519078cbe3dcf62f8e5458c1c7062046aae428c | |
parent | d6770b2b8137cb799ca216ced9ca566a831993eb (diff) | |
download | aur-cd64240786cba28521ab27181d91039ed4dba710.tar.gz |
Stronger medicine against random check failures
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -27,11 +27,17 @@ pkgver() { } build() { - arch-meson $_pkgname build -D pam_modules_dir=/usr/lib/security -D gtk_doc=true + arch-meson $_pkgname build \ + -D pam_modules_dir=/usr/lib/security \ + -D gtk_doc=true ninja -C build } check() { + # Unfortunately, the PAM tests often end up cluttering /tmp with pam.* + # directories, causing random failures the next time tests get run. + msg2 'Removing stale /tmp/pam.[0-9A-Za-z] directories before testing' + rm -rf /tmp/pam.[0-9A-Za-z] meson test -C build } |