From 53a1bf7ebf75e1de783d5aab3b846b6609c2d6a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Ch=C3=A9ron?= Date: Mon, 10 Jun 2019 08:27:40 +0200 Subject: [PATCH] Report info about runtime environment in the test suite --- tests/Tests.hs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/Tests.hs b/tests/Tests.hs index 3b9a09f..7f4f6ce 100644 --- a/tests/Tests.hs +++ b/tests/Tests.hs @@ -3,6 +3,8 @@ module Main where import Imports +import Crypto.System.CPU + import qualified Number import qualified Number.F2m import qualified BCrypt @@ -43,7 +45,10 @@ import qualified KAT_AFIS import qualified Padding tests = testGroup "cryptonite" - [ Number.tests + [ testGroup "runtime" + [ testCaseInfo "CPU" (return $ show processorOptions) + ] + , Number.tests , Number.F2m.tests , Hash.tests , Padding.tests