Skip to content

Commit

Permalink
Start using catch2 testing system
Browse files Browse the repository at this point in the history
  • Loading branch information
pjotrp committed Jun 18, 2023
1 parent c809a92 commit 81885df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions guix.scm
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
(source (local-file %source-dir #:recursive? #t))
(build-system gnu-build-system)
(inputs `(
("catch2" ,catch2)
("catch" ,catch2)
("gdb" ,gdb)
("gsl" ,gsl)
;; ("shunit2" ,shunit2) ;; comes with gemma
Expand All @@ -74,7 +74,7 @@
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(install-file "bin/gemma" (string-append out "/bin"))))))
#:tests? #f
#:tests? #t
#:parallel-tests? #f))
(home-page "https://github.com/genetics-statistics")
(synopsis "Tool for genome-wide efficient mixed model association")
Expand Down
2 changes: 1 addition & 1 deletion test/src/unittests-main.cpp
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file
#include <catch.hpp>
#include <catch2/catch.hpp>
2 changes: 1 addition & 1 deletion test/src/unittests-math.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <catch.hpp>
#include <catch2/catch.hpp>
#include <iostream>
#include <fenv.h>

Expand Down

0 comments on commit 81885df

Please sign in to comment.