From 2f0a105e86a904afef5ba340aaa7aa2514a0da57 Mon Sep 17 00:00:00 2001 From: Denis Laxalde Date: Mon, 23 Jun 2014 22:33:42 +0200 Subject: Split out GSL tests from base ones Move GSL tests into Numeric.GSL.Tests, separate the main into TestBase.hs and TestGSL.hs. In hmatrix-tests.cabal: - Split the test suite into a -base and -gsl ones - Add a `gsl` configuration flag to select GSL tests - Add a benchmark section One can now run hmatrix-base tests suite and benchmarks with: cabal configure --flag=-gsl --enable-tests --enable-benchmarks cabal tests cabal bench --- packages/tests/src/TestBase.hs | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 packages/tests/src/TestBase.hs (limited to 'packages/tests/src/TestBase.hs') diff --git a/packages/tests/src/TestBase.hs b/packages/tests/src/TestBase.hs new file mode 100644 index 0000000..23fd675 --- /dev/null +++ b/packages/tests/src/TestBase.hs @@ -0,0 +1,3 @@ +import Numeric.LinearAlgebra.Tests + +main = runTests 20 -- cgit v1.2.3