Commit 79f57325 authored by Austin Seipp's avatar Austin Seipp

testsuite: attempt fixing fallout from 089b72f5

A few tests had the same name which is a big no-no, so I reorganized them a
little. The naming is somewhat haphazard, though...
Signed-off-by: default avatarAustin Seipp <austin@well-typed.com>
parent 4cdab73f
{-# LANGUAGE DeriveLift #-}
module T1830 where
module T1830_2 where
import Language.Haskell.TH.Syntax (Lift)
......
......@@ -16,7 +16,7 @@ test('drv015', normal, compile, [''])
test('drv020', normal, compile, [''])
test('drv022', normal, compile, [''])
test('deriving-1935', normal, compile, [''])
test('T1830', normal, compile, [''])
test('T1830_2', normal, compile, [''])
test('T2378', normal, compile, [''])
test('T2856', normal, compile, [''])
test('T3057', extra_clean(['T3057A.o', 'T3057A.hi']), multimod_compile, ['T3057', '-v0'])
......
module T1830 where
module T1830_1 where
import Language.Haskell.TH.Syntax (Lift)
......
T1830.hs:5:29: error:
T1830_1.hs:5:29: error:
Can't make a derived instance of ‘Lift (Foo a)’:
You need DeriveLift to derive an instance for this class
In the data declaration for ‘Foo’
......@@ -16,7 +16,7 @@ test('drvfail016',
extra_clean(['drvfail016.hi-boot', 'drvfail016.o-boot']),
run_command,
['$MAKE --no-print-directory -s drvfail016'])
test('T1830', normal, compile_fail, [''])
test('T1830_1', normal, compile_fail, [''])
test('T2394', normal, compile_fail, [''])
# T2604 was removed as it was out of date re: fixing #9858
test('T2701', normal, compile_fail, [''])
......
......@@ -2,7 +2,7 @@
module Main where
import Language.Haskell.TH.Syntax (lift)
import T1830a
import T1830_3a
main :: IO ()
main = do
......
......@@ -2,7 +2,7 @@
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE MagicHash #-}
{-# LANGUAGE TypeFamilies #-}
module T1830a where
module T1830_3a where
import GHC.Exts
import Language.Haskell.TH.Syntax (Lift(..))
......
......@@ -127,10 +127,10 @@ test('TH_ghci1', normal, ghci_script, ['TH_ghci1.script'])
test('TH_linePragma', normal, compile_fail, ['-v0'])
test('T1830',
extra_clean(['T1830a.o','T1830a.hi']),
test('T1830_3',
extra_clean(['T1830_3a.o','T1830_3a.hi']),
multimod_compile_and_run,
['T1830', '-v0'])
['T1830_3', '-v0'])
test('T2700', normal, compile, ['-v0'])
test('T2817', normal, compile, ['-v0'])
test('T2713', normal, compile_fail, ['-v0'])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment