git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Fix psci tests

* Stop accidentally including tests from support modules * Update support module list

commit4b4762b7be79799756899064e11bb9179d90eaf3 authorHarry Garrood <harry@garrood.me> dateTue 3 Jan 2017, 05:33 (10 years ago) parent45478c2
2 files changed+20−2
tests/TestPsci.hs+1−1 tests/TestUtils.hs+19−1
tests/TestPsci.hs+1−1
@@ -120,7 +120,7 @@ getPSCiState :: IO PSCiState
120120getPSCiState = do
121121 cwd <- getCurrentDirectory
122122 let supportDir = cwd </> "tests" </> "support" </> "bower_components"
123− let supportFiles ext = Glob.globDir1 (Glob.compile ("purescript-*/**/*." ++ ext)) supportDir
123+ let supportFiles ext = Glob.globDir1 (Glob.compile ("purescript-*/src/**/*." ++ ext)) supportDir
124124 pursFiles <- supportFiles "purs"
125125
126126 modulesOrFirstError <- loadAllModules pursFiles
tests/TestUtils.hs+19−1
@@ -69,11 +69,15 @@ supportModules =
6969 , "Control.Monad.Eff.Class"
7070 , "Control.Monad.Eff.Console"
7171 , "Control.Monad.Eff.Unsafe"
72+ , "Control.Monad.Rec.Class"
7273 , "Control.Monad.ST"
7374 , "Control.MonadPlus"
7475 , "Control.MonadZero"
7576 , "Control.Plus"
7677 , "Control.Semigroupoid"
78+ , "Data.Array"
79+ , "Data.Array.Partial"
80+ , "Data.Array.ST"
7781 , "Data.Bifoldable"
7882 , "Data.Bifunctor"
7983 , "Data.Bifunctor.Clown"
@@ -86,7 +90,10 @@ supportModules =
8690 , "Data.Boolean"
8791 , "Data.BooleanAlgebra"
8892 , "Data.Bounded"
93+ , "Data.Char"
8994 , "Data.CommutativeRing"
95+ , "Data.Either"
96+ , "Data.Either.Nested"
9097 , "Data.Eq"
9198 , "Data.EuclideanRing"
9299 , "Data.Field"
@@ -95,6 +102,7 @@ supportModules =
95102 , "Data.Function.Uncurried"
96103 , "Data.Functor"
97104 , "Data.Functor.Invariant"
105+ , "Data.Generic"
98106 , "Data.Generic.Rep"
99107 , "Data.Generic.Rep.Eq"
100108 , "Data.Generic.Rep.Monoid"
@@ -102,6 +110,7 @@ supportModules =
102110 , "Data.Generic.Rep.Semigroup"
103111 , "Data.Generic.Rep.Show"
104112 , "Data.HeytingAlgebra"
113+ , "Data.Identity"
105114 , "Data.Maybe"
106115 , "Data.Maybe.First"
107116 , "Data.Maybe.Last"
@@ -115,6 +124,7 @@ supportModules =
115124 , "Data.Monoid.Multiplicative"
116125 , "Data.NaturalTransformation"
117126 , "Data.Newtype"
127+ , "Data.NonEmpty"
118128 , "Data.Ord"
119129 , "Data.Ord.Unsafe"
120130 , "Data.Ordering"
@@ -122,15 +132,23 @@ supportModules =
122132 , "Data.Semigroup"
123133 , "Data.Semiring"
124134 , "Data.Show"
135+ , "Data.String"
136+ , "Data.String.CaseInsensitive"
137+ , "Data.String.Regex"
138+ , "Data.String.Regex.Flags"
139+ , "Data.String.Regex.Unsafe"
140+ , "Data.String.Unsafe"
125141 , "Data.Symbol"
126142 , "Data.Traversable"
143+ , "Data.Tuple"
144+ , "Data.Tuple.Nested"
145+ , "Data.Unfoldable"
127146 , "Data.Unit"
128147 , "Data.Void"
129148 , "Partial"
130149 , "Partial.Unsafe"
131150 , "Prelude"
132151 , "Test.Assert"
133− , "Test.Main"
134152 , "Type.Data.Ordering"
135153 , "Type.Data.Symbol"
136154 , "Type.Equality"