Date: Wednesday, November 2, 2022 @ 03:35:49
  Author: foutrelis
Revision: 1340956

Fix check() by running pytest directly

Otherwise it complains about the following:

    make: Entering directory '/build/repose/src/repose-7.1'
    py.test tests --boxed
    ERROR: usage: py.test [options] [file_or_dir] [file_or_dir] [...]
    py.test: error: unrecognized arguments: --boxed
      inifile: None
      rootdir: /build/repose/src/repose-7.1

    make: *** [Makefile:50: tests] Error 4

Modified:
  repose/trunk/PKGBUILD

----------+
 PKGBUILD |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-11-02 03:32:38 UTC (rev 1340955)
+++ PKGBUILD    2022-11-02 03:35:49 UTC (rev 1340956)
@@ -23,7 +23,8 @@
 }
 
 check() {
-  make -C repose-$pkgver tests
+  cd repose-$pkgver
+  pytest
 }
 
 package() {

Reply via email to