[commit: packages/containers] master: Disable coercion tests for the time being. (bc74f91)

git at git.haskell.org git at git.haskell.org
Fri Jan 23 22:43:01 UTC 2015


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

On branch  : master
Link       : http://git.haskell.org/packages/containers.git/commitdiff/bc74f915a5c223ae976290161b1b2f4ef7ea5b41

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

commit bc74f915a5c223ae976290161b1b2f4ef7ea5b41
Author: Milan Straka <fox at ucw.cz>
Date:   Tue Dec 16 09:38:16 2014 +0100

    Disable coercion tests for the time being.


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

bc74f915a5c223ae976290161b1b2f4ef7ea5b41
 tests-ghc/all.T                                            | 5 -----
 tests-ghc/unreliable/README                                | 2 ++
 tests-ghc/{all.T => unreliable/coerce_tests}               | 7 -------
 tests-ghc/{ => unreliable}/mapcoerceintmap.hs              | 0
 tests-ghc/{ => unreliable}/mapcoerceintmap.stdout          | 0
 tests-ghc/{ => unreliable}/mapcoerceintmapstrict.hs        | 0
 tests-ghc/{ => unreliable}/mapcoerceintmapstrict.hs.stdout | 0
 tests-ghc/{ => unreliable}/mapcoercemap.hs                 | 0
 tests-ghc/{ => unreliable}/mapcoercemap.stdout             | 0
 tests-ghc/{ => unreliable}/mapcoerceseq.hs                 | 0
 tests-ghc/{ => unreliable}/mapcoerceseq.stdout             | 0
 tests-ghc/{ => unreliable}/mapcoercesmap.hs                | 0
 tests-ghc/{ => unreliable}/mapcoercesmap.stdout            | 0
 13 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/tests-ghc/all.T b/tests-ghc/all.T
index eba1dcc..b7887dc 100644
--- a/tests-ghc/all.T
+++ b/tests-ghc/all.T
@@ -5,8 +5,3 @@ test('datamap001', normal, compile_and_run, ['-package containers'])
 test('datamap002', normal, compile_and_run, ['-package containers'])
 test('dataintset001', normal, compile_and_run, ['-package containers'])
 test('sequence001', normal, compile_and_run, ['-package containers'])
-test('mapcoerceseq', when(compiler_ge('ghc','7.9')), compile_and_run, ['-package containers'])
-test('mapcoercemap', when(compiler_ge('ghc','7.9')), compile_and_run, ['-package containers'])
-test('mapcoercesmap', when(compiler_ge('ghc','7.9')), compile_and_run, ['-package containers'])
-test('mapcoerceintmap', when(compiler_ge('ghc','7.9')), compile_and_run, ['-package containers'])
-test('mapcoerceintmapstrict', when(compiler_ge('ghc','7.9')), compile_and_run, ['-package containers'])
diff --git a/tests-ghc/unreliable/README b/tests-ghc/unreliable/README
new file mode 100644
index 0000000..23240fe
--- /dev/null
+++ b/tests-ghc/unreliable/README
@@ -0,0 +1,2 @@
+These coerce tests depend on whether RULES are fired or not,
+so adding them to general GHC suite might cause testing failures.
diff --git a/tests-ghc/all.T b/tests-ghc/unreliable/coerce_tests
similarity index 55%
copy from tests-ghc/all.T
copy to tests-ghc/unreliable/coerce_tests
index eba1dcc..5cc72d0 100644
--- a/tests-ghc/all.T
+++ b/tests-ghc/unreliable/coerce_tests
@@ -1,10 +1,3 @@
-# This is a test script for use with GHC's testsuite framework, see
-# http://darcs.haskell.org/testsuite
-
-test('datamap001', normal, compile_and_run, ['-package containers'])
-test('datamap002', normal, compile_and_run, ['-package containers'])
-test('dataintset001', normal, compile_and_run, ['-package containers'])
-test('sequence001', normal, compile_and_run, ['-package containers'])
 test('mapcoerceseq', when(compiler_ge('ghc','7.9')), compile_and_run, ['-package containers'])
 test('mapcoercemap', when(compiler_ge('ghc','7.9')), compile_and_run, ['-package containers'])
 test('mapcoercesmap', when(compiler_ge('ghc','7.9')), compile_and_run, ['-package containers'])
diff --git a/tests-ghc/mapcoerceintmap.hs b/tests-ghc/unreliable/mapcoerceintmap.hs
similarity index 100%
rename from tests-ghc/mapcoerceintmap.hs
rename to tests-ghc/unreliable/mapcoerceintmap.hs
diff --git a/tests-ghc/mapcoerceintmap.stdout b/tests-ghc/unreliable/mapcoerceintmap.stdout
similarity index 100%
rename from tests-ghc/mapcoerceintmap.stdout
rename to tests-ghc/unreliable/mapcoerceintmap.stdout
diff --git a/tests-ghc/mapcoerceintmapstrict.hs b/tests-ghc/unreliable/mapcoerceintmapstrict.hs
similarity index 100%
rename from tests-ghc/mapcoerceintmapstrict.hs
rename to tests-ghc/unreliable/mapcoerceintmapstrict.hs
diff --git a/tests-ghc/mapcoerceintmapstrict.hs.stdout b/tests-ghc/unreliable/mapcoerceintmapstrict.hs.stdout
similarity index 100%
rename from tests-ghc/mapcoerceintmapstrict.hs.stdout
rename to tests-ghc/unreliable/mapcoerceintmapstrict.hs.stdout
diff --git a/tests-ghc/mapcoercemap.hs b/tests-ghc/unreliable/mapcoercemap.hs
similarity index 100%
rename from tests-ghc/mapcoercemap.hs
rename to tests-ghc/unreliable/mapcoercemap.hs
diff --git a/tests-ghc/mapcoercemap.stdout b/tests-ghc/unreliable/mapcoercemap.stdout
similarity index 100%
rename from tests-ghc/mapcoercemap.stdout
rename to tests-ghc/unreliable/mapcoercemap.stdout
diff --git a/tests-ghc/mapcoerceseq.hs b/tests-ghc/unreliable/mapcoerceseq.hs
similarity index 100%
rename from tests-ghc/mapcoerceseq.hs
rename to tests-ghc/unreliable/mapcoerceseq.hs
diff --git a/tests-ghc/mapcoerceseq.stdout b/tests-ghc/unreliable/mapcoerceseq.stdout
similarity index 100%
rename from tests-ghc/mapcoerceseq.stdout
rename to tests-ghc/unreliable/mapcoerceseq.stdout
diff --git a/tests-ghc/mapcoercesmap.hs b/tests-ghc/unreliable/mapcoercesmap.hs
similarity index 100%
rename from tests-ghc/mapcoercesmap.hs
rename to tests-ghc/unreliable/mapcoercesmap.hs
diff --git a/tests-ghc/mapcoercesmap.stdout b/tests-ghc/unreliable/mapcoercesmap.stdout
similarity index 100%
rename from tests-ghc/mapcoercesmap.stdout
rename to tests-ghc/unreliable/mapcoercesmap.stdout



More information about the ghc-commits mailing list