[commit: ghc] master: Testsuite: Delete test for deprecated "packedstring" (e8c04d4)

git at git.haskell.org git at git.haskell.org
Tue Apr 26 08:50:10 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/e8c04d4ca5c78c6b68dab840ea53af42eee99364/ghc

>---------------------------------------------------------------

commit e8c04d4ca5c78c6b68dab840ea53af42eee99364
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date:   Mon Apr 25 14:55:38 2016 +0200

    Testsuite: Delete test for deprecated "packedstring"


>---------------------------------------------------------------

e8c04d4ca5c78c6b68dab840ea53af42eee99364
 libraries/base/tests/all.T                  |  2 --
 libraries/base/tests/packedstring001.hs     | 11 -----------
 libraries/base/tests/packedstring001.stdout |  1 -
 3 files changed, 14 deletions(-)

diff --git a/libraries/base/tests/all.T b/libraries/base/tests/all.T
index 4ca3cda..fc97666 100644
--- a/libraries/base/tests/all.T
+++ b/libraries/base/tests/all.T
@@ -103,8 +103,6 @@ test('memo002',
       extra_clean(['Memo2.hi', 'Memo2.o'])],
 	multimod_compile_and_run, ['memo002',''])
 
-test('packedstring001', reqlib('packedstring'), compile_and_run, ['-package packedstring'])
-
 test('stableptr001',
      [when(fast(), skip), extra_run_opts('+RTS -K8m -RTS')],
      compile_and_run, [''])
diff --git a/libraries/base/tests/packedstring001.hs b/libraries/base/tests/packedstring001.hs
deleted file mode 100644
index 9ee24e2..0000000
--- a/libraries/base/tests/packedstring001.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-
-module Main (main) where
-
-import Char (isSpace)
-import Data.PackedString
-
--- Bug in PackedString.lhs (fixed in rev 1.5)
-
-foo = packString "this is a test"
-main = print (filterPS (not.isSpace) foo)
-
diff --git a/libraries/base/tests/packedstring001.stdout b/libraries/base/tests/packedstring001.stdout
deleted file mode 100644
index fbd5abc..0000000
--- a/libraries/base/tests/packedstring001.stdout
+++ /dev/null
@@ -1 +0,0 @@
-"thisisatest"



More information about the ghc-commits mailing list