Testsuite: rename *.stderr-ghc to *.stderr
authorThomas Miedema <thomasmiedema@gmail.com>
Tue, 14 Jul 2015 11:37:55 +0000 (13:37 +0200)
committerThomas Miedema <thomasmiedema@gmail.com>
Tue, 14 Jul 2015 12:11:25 +0000 (14:11 +0200)
And *.stdout-ghc to *.stdout. We only have output files for ghc now.

39 files changed:
libraries/base/tests/list001.stdout
libraries/base/tests/list001.stdout-ghc [deleted file]
libraries/base/tests/ratio001.stdout-ghc [deleted file]
testsuite/driver/testlib.py
testsuite/tests/deSugar/should_compile/ds002.stderr [moved from testsuite/tests/deSugar/should_compile/ds002.stderr-ghc with 100% similarity]
testsuite/tests/deSugar/should_compile/ds003.stderr [moved from testsuite/tests/deSugar/should_compile/ds003.stderr-ghc with 100% similarity]
testsuite/tests/deSugar/should_compile/ds019.stderr [moved from testsuite/tests/deSugar/should_compile/ds019.stderr-ghc with 100% similarity]
testsuite/tests/deSugar/should_compile/ds020.stderr [moved from testsuite/tests/deSugar/should_compile/ds020.stderr-ghc with 100% similarity]
testsuite/tests/deSugar/should_compile/ds022.stderr [moved from testsuite/tests/deSugar/should_compile/ds022.stderr-ghc with 100% similarity]
testsuite/tests/deSugar/should_compile/ds040.stderr [moved from testsuite/tests/deSugar/should_compile/ds040.stderr-ghc with 100% similarity]
testsuite/tests/deSugar/should_compile/ds041.stderr [moved from testsuite/tests/deSugar/should_compile/ds041.stderr-ghc with 100% similarity]
testsuite/tests/deSugar/should_compile/ds043.stderr [moved from testsuite/tests/deSugar/should_compile/ds043.stderr-ghc with 100% similarity]
testsuite/tests/deSugar/should_compile/ds051.stderr [moved from testsuite/tests/deSugar/should_compile/ds051.stderr-ghc with 100% similarity]
testsuite/tests/deSugar/should_compile/ds053.stderr [moved from testsuite/tests/deSugar/should_compile/ds053.stderr-ghc with 100% similarity]
testsuite/tests/module/mod128.stderr [moved from testsuite/tests/module/mod128.stderr-ghc with 100% similarity]
testsuite/tests/module/mod14.stderr [moved from testsuite/tests/module/mod14.stderr-ghc with 100% similarity]
testsuite/tests/module/mod5.stderr [moved from testsuite/tests/module/mod5.stderr-ghc with 100% similarity]
testsuite/tests/numeric/should_run/arith001.stdout-ghc [deleted file]
testsuite/tests/numeric/should_run/arith002.stdout-ghc [deleted file]
testsuite/tests/parser/should_compile/read014.stderr [moved from testsuite/tests/parser/should_compile/read014.stderr-ghc with 100% similarity]
testsuite/tests/rename/should_compile/T3262.stderr [moved from testsuite/tests/rename/should_compile/T3262.stderr-ghc with 100% similarity]
testsuite/tests/rename/should_compile/mc10.stderr [moved from testsuite/tests/rename/should_compile/mc10.stderr-ghc with 100% similarity]
testsuite/tests/rename/should_compile/rn037.stderr [moved from testsuite/tests/rename/should_compile/rn037.stderr-ghc with 100% similarity]
testsuite/tests/rename/should_compile/rn039.stderr [moved from testsuite/tests/rename/should_compile/rn039.stderr-ghc with 100% similarity]
testsuite/tests/rename/should_compile/rn040.stderr [moved from testsuite/tests/rename/should_compile/rn040.stderr-ghc with 100% similarity]
testsuite/tests/rename/should_compile/rn041.stderr [moved from testsuite/tests/rename/should_compile/rn041.stderr-ghc with 100% similarity]
testsuite/tests/rename/should_compile/rn046.stderr [moved from testsuite/tests/rename/should_compile/rn046.stderr-ghc with 100% similarity]
testsuite/tests/rename/should_compile/rn047.stderr [moved from testsuite/tests/rename/should_compile/rn047.stderr-ghc with 100% similarity]
testsuite/tests/rename/should_compile/rn055.stderr [moved from testsuite/tests/rename/should_compile/rn055.stderr-ghc with 100% similarity]
testsuite/tests/typecheck/prog001/typecheck.prog001.stderr [moved from testsuite/tests/typecheck/prog001/typecheck.prog001.stderr-ghc with 100% similarity]
testsuite/tests/typecheck/should_compile/HasKey.stderr [moved from testsuite/tests/typecheck/should_compile/HasKey.stderr-ghc with 100% similarity]
testsuite/tests/typecheck/should_compile/T7903.stderr [moved from testsuite/tests/typecheck/should_compile/T7903.stderr-ghc with 100% similarity]
testsuite/tests/typecheck/should_compile/tc078.stderr [moved from testsuite/tests/typecheck/should_compile/tc078.stderr-ghc with 100% similarity]
testsuite/tests/typecheck/should_compile/tc115.stderr [moved from testsuite/tests/typecheck/should_compile/tc115.stderr-ghc with 100% similarity]
testsuite/tests/typecheck/should_compile/tc116.stderr [moved from testsuite/tests/typecheck/should_compile/tc116.stderr-ghc with 100% similarity]
testsuite/tests/typecheck/should_compile/tc125.stderr [moved from testsuite/tests/typecheck/should_compile/tc125.stderr-ghc with 100% similarity]
testsuite/tests/typecheck/should_compile/tc126.stderr [moved from testsuite/tests/typecheck/should_compile/tc126.stderr-ghc with 100% similarity]
testsuite/tests/typecheck/should_compile/tc161.stderr [moved from testsuite/tests/typecheck/should_compile/tc161.stderr-ghc with 100% similarity]
testsuite/tests/typecheck/should_run/tcrun003.stdout-ghc [deleted file]

index b8254f0..16e780a 100644 (file)
@@ -1,11 +1,11 @@
 (1,'a')
-"head []
+head []
 ([2,3,4],"")
-"tail []
+tail []
 ([1,2,3],"")
-"init []
+init []
 (4,'a')
-"last []
+last []
 [True,False]
 10
 56
diff --git a/libraries/base/tests/list001.stdout-ghc b/libraries/base/tests/list001.stdout-ghc
deleted file mode 100644 (file)
index 16e780a..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-(1,'a')
-head []
-([2,3,4],"")
-tail []
-([1,2,3],"")
-init []
-(4,'a')
-last []
-[True,False]
-10
-56
-55
-foldl1 []
-[1,2,4,7,11,16,22,29,37,46,56]
-[1,3,6,10,15,21,28,36,45,55]
-[]
-55
-foldr1 []
-[56,55,53,50,46,41,35,28,20,11,1]
-[55,54,52,49,45,40,34,27,19,10]
-[]
-[1,2,3,4,1,2,3,4,1,2]
-(["x","x","x","x"],[],[1,2,3,4])
-[]
-[["abc","abc"],[],["","",""]]
-[[6,7,8,9,10],[1,2,3,4,5,6,7,8,9,10],[]]
-[1,2,3,4,5,6,7,8,9,10]
-[([1,2,3,4,5],[6,7,8,9,10]),([1,2,3,4],[])]
-([],[1,2,3,4,5,6,7,8,9,10])
-([1,2,3,4],[5,6,7,8,9,10])
-([],[1,2,3,4,5,6,7,8,9,10])
-[[10,9,8,7,6,5,4,3,2,1],[]]
-[True,True,False]
-[False,True,False]
-[True,False,False]
-[False,True,True]
-Just 7
-[55,0]
-[3628800,1]
-10
-maximum []
-1
-minimum []
-[1,2,3,4,5,6,7,8,9,10]
-[[(1,2)],[],[],[(1,2),(2,3),(3,4),(4,5),(5,6)]]
-[(1,3,5),(2,4,6)]
-[[4,6],[],[]]
-[([1,3],[2,4]),([],[])]
-[([1,3],[2,4],[3,5]),([],[],[])]
-("a\nb\nc\n",[],"")
-("a b c d",[],"")
-[[0,1,2,3,4],[]]
-[[0,1,2,3,4],[]]
-[[0,1,4],[1,2,3,4],[]]
diff --git a/libraries/base/tests/ratio001.stdout-ghc b/libraries/base/tests/ratio001.stdout-ghc
deleted file mode 100644 (file)
index f7355f9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-8 % 5
index d31cf9b..a7c1bed 100644 (file)
@@ -2104,7 +2104,7 @@ def qualify( name, suff ):
 
 # Finding the sample output.  The filename is of the form
 #
-#   <test>.stdout[-ghc][-<version>][-ws-<wordsize>][-<platform>]
+#   <test>.stdout[-ghc-<version>][-ws-<wordsize>][-<platform>]
 #
 # and we pick the most specific version available.  The <version> is
 # the major version of the compiler (e.g. 6.8.2 would be "6.8").  For
@@ -2114,13 +2114,12 @@ def platform_wordsize_qualify( name, suff ):
 
     basepath = qualify(name, suff)
 
-    paths = [(platformSpecific, basepath + comp + vers + ws + plat)
+    paths = [(platformSpecific, basepath + ghcversion + ws + plat)
              for (platformSpecific, plat) in [(1, '-' + config.platform),
                                               (1, '-' + config.os),
                                               (0, '')]
              for ws   in ['-ws-' + config.wordsize, '']
-             for comp in ['-ghc', '']
-             for vers in ['-' + config.compiler_maj_version, '']]
+             for ghcversion in ['-ghc-' + config.compiler_maj_version, '']]
 
     dir = glob.glob(basepath + '*')
     dir = [normalise_slashes_(d) for d in dir]
diff --git a/testsuite/tests/numeric/should_run/arith001.stdout-ghc b/testsuite/tests/numeric/should_run/arith001.stdout-ghc
deleted file mode 100644 (file)
index 741c480..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-42 % 1
-42, 1
-42.0, 1.0
-5910974510923776, -47
-5910974510923776, -47
diff --git a/testsuite/tests/numeric/should_run/arith002.stdout-ghc b/testsuite/tests/numeric/should_run/arith002.stdout-ghc
deleted file mode 100644 (file)
index ab71754..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-[0 % 1,0 % 1,0 % 1,2 % 1,2 % 1,(-2) % 1,(-2) % 1,22 % 7,1 % 5000]
-[0,0,0,2,2,-2,-2,22,1,1,1,1,1,1,1,1,7,5000]
-[0 % 1,0 % 1,0 % 1,2 % 1,2 % 1,(-2) % 1,(-2) % 1,22 % 7,1 % 5000]
-[0,0,0,2,2,-2,-2,22,1,1,1,1,1,1,1,1,7,5000]
diff --git a/testsuite/tests/typecheck/should_run/tcrun003.stdout-ghc b/testsuite/tests/typecheck/should_run/tcrun003.stdout-ghc
deleted file mode 100644 (file)
index 14896f2..0000000
+++ /dev/null
@@ -1 +0,0 @@
-3 % 1