Commit 4dc38775 authored by thomie's avatar thomie
Browse files

Testsuite: rename *.stderr-ghc to *.stderr

And *.stdout-ghc to *.stdout. We only have output files for ghc now.
parent 783b79bf
(1,'a')
"head []
head []
([2,3,4],"")
"tail []
tail []
([1,2,3],"")
"init []
init []
(4,'a')
"last []
last []
[True,False]
10
56
......
(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],[]]
......@@ -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]
......
42 % 1
42, 1
42.0, 1.0
5910974510923776, -47
5910974510923776, -47
[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]
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