From 3da6fa6bab764323de4a77ec08b1b093ad4a7946 Mon Sep 17 00:00:00 2001 From: Troels Henriksen Date: Thu, 17 Oct 2019 17:28:58 +0200 Subject: [PATCH] Test suite cleanup. --- unittests/Futhark/Analysis/ScalExpTests.hs | 2 +- unittests/Futhark/Representation/AST/AttributesTests.hs | 2 +- .../Futhark/Representation/ExplicitMemory/IndexFunction/Alg.hs | 1 - unittests/Language/Futhark/CoreTests.hs | 2 +- unittests/Language/Futhark/SyntaxTests.hs | 1 - 5 files changed, 3 insertions(+), 5 deletions(-) diff --git a/unittests/Futhark/Analysis/ScalExpTests.hs b/unittests/Futhark/Analysis/ScalExpTests.hs index db5bdefd26..9f3a0d1565 100644 --- a/unittests/Futhark/Analysis/ScalExpTests.hs +++ b/unittests/Futhark/Analysis/ScalExpTests.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE TypeSynonymInstances, FlexibleInstances, FlexibleContexts #-} +{-# LANGUAGE FlexibleInstances, FlexibleContexts #-} {-# OPTIONS_GHC -fno-warn-orphans #-} module Futhark.Analysis.ScalExpTests ( tests diff --git a/unittests/Futhark/Representation/AST/AttributesTests.hs b/unittests/Futhark/Representation/AST/AttributesTests.hs index ec4cf26c6d..a033bbba6b 100644 --- a/unittests/Futhark/Representation/AST/AttributesTests.hs +++ b/unittests/Futhark/Representation/AST/AttributesTests.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE TypeSynonymInstances, FlexibleInstances #-} +{-# LANGUAGE FlexibleInstances #-} {-# OPTIONS_GHC -fno-warn-orphans #-} module Futhark.Representation.AST.AttributesTests ( tests diff --git a/unittests/Futhark/Representation/ExplicitMemory/IndexFunction/Alg.hs b/unittests/Futhark/Representation/ExplicitMemory/IndexFunction/Alg.hs index 78ac76b7c6..2adc0f8ff1 100644 --- a/unittests/Futhark/Representation/ExplicitMemory/IndexFunction/Alg.hs +++ b/unittests/Futhark/Representation/ExplicitMemory/IndexFunction/Alg.hs @@ -17,7 +17,6 @@ module Futhark.Representation.ExplicitMemory.IndexFunction.Alg ) where -import Data.Monoid ((<>)) import Data.List hiding (repeat) import Prelude hiding (repeat, mod) diff --git a/unittests/Language/Futhark/CoreTests.hs b/unittests/Language/Futhark/CoreTests.hs index a35bc3b8e8..2eada2b656 100644 --- a/unittests/Language/Futhark/CoreTests.hs +++ b/unittests/Language/Futhark/CoreTests.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE TypeSynonymInstances, FlexibleInstances #-} +{-# LANGUAGE FlexibleInstances #-} {-# OPTIONS_GHC -fno-warn-orphans #-} module Language.Futhark.CoreTests () where diff --git a/unittests/Language/Futhark/SyntaxTests.hs b/unittests/Language/Futhark/SyntaxTests.hs index af58385eaa..bde15e0a4d 100644 --- a/unittests/Language/Futhark/SyntaxTests.hs +++ b/unittests/Language/Futhark/SyntaxTests.hs @@ -1,5 +1,4 @@ {-# OPTIONS_GHC -fno-warn-orphans #-} -{-# LANGUAGE TypeSynonymInstances #-} {-# LANGUAGE FlexibleInstances #-} module Language.Futhark.SyntaxTests (tests) where