Ticket #3378: TLCGroup-testsuite.patch

File TLCGroup-testsuite.patch, 4.6 KB (added by batterseapower, 4 years ago)
Line 
1Fri Jul 17 23:48:49 BST 2009  Max Bolingbroke <batterseapower@hotmail.com>
2  * Test for group being a special_id when TransformListComp is on
3
4New patches:
5
6[Test for group being a special_id when TransformListComp is on
7Max Bolingbroke <batterseapower@hotmail.com>**20090717224849
8 Ignore-this: 850192f55096c6d373b797255aa0b236
9] {
10hunk ./tests/ghc-regress/deSugar/should_run/dsrun022.hs 15
11             , ("Gordon", "Ed", 45)
12             , ("Paul", "Yale", 60) ]
13 
14-main = putStrLn (show output)
15+main = putStrLn (show can_still_use_group_function) >> putStrLn (show output)
16   where
17     output = [ (the dept, map sum salary, (show x) ++ " and " ++ (show y))
18              | (name, dept, salary) <- employees
19hunk ./tests/ghc-regress/deSugar/should_run/dsrun022.hs 25
20              , then sortWith by sum salary
21              , then take 4
22              , then group using replicate 2 ]
23+    group = const "my group function called!"
24+    can_still_use_group_function = group "Mississippi"
25hunk ./tests/ghc-regress/deSugar/should_run/dsrun022.stdout 1
26+"my group function called!"
27 [(["Yale"],[60,60,60,60],"[1,1,1,2] and [4,5,6,4]"),(["Yale"],[60,60,60,60],"[1,1,1,2] and [4,5,6,4]")]
28}
29
30Context:
31
32[Add test for Trac #3346
33simonpj@microsoft.com**20090717155827
34 Ignore-this: 52203cff9520f0f502612cf5880e660c
35]
36[accept output after changes to dfun naming
37Simon Marlow <marlowsd@gmail.com>**20090716144125
38 Ignore-this: 295a3d8c86c533edb40d077a1fbdf2e5
39]
40[Update mode001
41Ian Lynagh <igloo@earth.li>**20090716000721
42 The earlier of --help and --version now determines the behaviour
43]
44[add utf8_bom codec
45Simon Marlow <marlowsd@gmail.com>**20090715131505
46 Ignore-this: 27a198bd9ed3112005c43551109acd58
47]
48[Test derived Foldable instance
49m.niloc@gmail.com**20090711130821
50 Ignore-this: 830f4b824bd469df0de947f32b4f9c1c
51]
52[Add a test for #1074
53Ian Lynagh <igloo@earth.li>**20090711191937]
54[Add a test for #1792
55Ian Lynagh <igloo@earth.li>**20090711191508]
56[TFs: Added T2203b
57Manuel M T Chakravarty <chak@cse.unsw.edu.au>**20090710064638
58 Ignore-this: 8d0c3101f03a76b2fd13e1032aefeffe
59]
60[TFs: fixed should_compile/Simple8 & wibbles
61Manuel M T Chakravarty <chak@cse.unsw.edu.au>**20090710035536
62 Ignore-this: 66b4c2ad6a5f594f2fd6fcf51be78d6a
63]
64[T3016: skip_if_fast, and omit optc too.
65Simon Marlow <marlowsd@gmail.com>**20090709144504
66 Ignore-this: 26d695f84bf0393da3f1e1862140384f
67]
68[disable T3016(profc), gcc takes ages
69Simon Marlow <marlowsd@gmail.com>**20090709104147
70 Ignore-this: 4accafb20b11f18bb389be86aa84a331
71]
72[Tests for unused imports
73simonpj@microsoft.com**20090706111329
74 Ignore-this: 477db02945a12e468d0adc9181ece35d
75]
76[TFs: T2677
77Manuel M T Chakravarty <chak@cse.unsw.edu.au>**20090707054749
78 Ignore-this: 8ca0fd55918fc3b5a7cd2b7407b7195a
79]
80[Update cabal01 test for Cabal change
81Ian Lynagh <igloo@earth.li>**20090705194639]
82[Make changes to -fwarn-unused-do-bind and -fwarn-wrong-do-bind suggested by SPJ
83Max Bolingbroke <batterseapower@hotmail.com>**20090702150957
84 Ignore-this: a79f826df7152b7b5a253a05f90d4128
85]
86[Support for -fwarn-unused-do-bind and -fwarn-wrong-do-bind, as per #3263
87Max Bolingbroke <batterseapower@hotmail.com>**20090701200441
88 Ignore-this: b762c27276c3e1e3aff614640f27903d
89]
90[Test Trac #3342
91simonpj@microsoft.com**20090702124700
92 Ignore-this: 3d47a4e0c60d0ad4db266869cdb74ec9
93]
94[Track error message change
95simonpj@microsoft.com**20090702095512
96 Ignore-this: 47db428ab8f9a6e2f0903fc84c1d547b
97]
98[NonLinearSigErr is actually OK
99simonpj@microsoft.com**20090702095452
100 Ignore-this: ef3db790608ce2d9b4a26cbc450b93c1
101]
102[Track change in record syntax for GADTs
103simonpj@microsoft.com**20090702095341
104 Ignore-this: f566b1130a4dff0a81d92a262d794d
105]
106[TFs: nullary families are ok
107Manuel M T Chakravarty <chak@cse.unsw.edu.au>**20090702093629
108 Ignore-this: ef5783432881e51f4f88b806aaacc1cf
109]
110[add readwrite003 (from bug #679)
111Simon Marlow <marlowsd@gmail.com>**20090701104449
112 Ignore-this: 657cea9c9506a5f961877cdb77313ab7
113]
114[Remove hacky GCC setting
115Simon Marlow <marlowsd@gmail.com>**20090626140827
116 Ignore-this: 698a64c4f09be46340d04aeb0f9be8d
117 It isn't necessary now that Cabal can find gcc in the new layout, and
118 it was taking a long time (2.5s on Windows every time you start up
119 make in the testsuite)
120]
121[accept output after fixes to FFI declaration pretty-printing
122Simon Marlow <marlowsd@gmail.com>**20090626103342
123 Ignore-this: 34d49ce46f4fac185e110ae6c27e8c35
124]
125[add test for #3319
126Simon Marlow <marlowsd@gmail.com>**20090626103159
127 Ignore-this: 7b77c0bb4137b9174e76c6c5aa9a9bd4
128]
129[TAG 2009-06-25
130Ian Lynagh <igloo@earth.li>**20090625160429]
131Patch bundle hash:
1320e0a3ba64fc6ebe94477dc6528d1de3ddeab2386