summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-03-15 11:53:58 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2019-03-15 18:40:45 +0100
commit5c360e48dbca6b1d53266172b4b9c8680a3a2ff8 (patch)
tree31b75abae61bb6b792af6ba8aa75b749dcc77b9b /gnu
parentcb5c64c6f59b4415c190d237e0bbe927bc92ccda (diff)
downloadguix-5c360e48dbca6b1d53266172b4b9c8680a3a2ff8.tar.gz
gnu: perl-test-mockobject: Run tests.
* gnu/packages/perl-check.scm (perl-test-mockobject)[arguments]: Re-enable tests.
[native-inputs]: Add perl-cgi.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/perl-check.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/perl-check.scm b/gnu/packages/perl-check.scm
index b9d3d1d61c..fe1129a475 100644
--- a/gnu/packages/perl-check.scm
+++ b/gnu/packages/perl-check.scm
@@ -34,6 +34,7 @@
   #:use-module (guix licenses)
   #:use-module (gnu packages)
   #:use-module (gnu packages valgrind)
+  #:use-module (gnu packages web)
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix build-system perl)
@@ -745,14 +746,14 @@ you @code{unmock()} the subroutine.")
         (base32 "06250ayzzd90vbvkpxwr9d3nlbbngl1b9nk2qk0ma4aibn6ha5j5"))))
     (build-system perl-build-system)
     (native-inputs
-     `(("perl-test-exception" ,perl-test-exception)
+     `(("perl-cgi" ,perl-cgi)
+       ("perl-test-exception" ,perl-test-exception)
        ("perl-test-warn" ,perl-test-warn)))
     (propagated-inputs
      `(("perl-test-exception" ,perl-test-exception)
        ("perl-test-warn" ,perl-test-warn)
        ("perl-universal-can" ,perl-universal-can)
        ("perl-universal-isa" ,perl-universal-isa)))
-    (arguments `(#:tests? #f))          ;TODO: tests require perl-cgi
     (home-page "https://metacpan.org/release/Test-MockObject")
     (synopsis "Emulate troublesome interfaces in Perl")
     (description "Test::MockObject allows you to create objects that conform