File tree Expand file tree Collapse file tree 5 files changed +176
-112
lines changed Expand file tree Collapse file tree 5 files changed +176
-112
lines changed Original file line number Diff line number Diff line change @@ -193,15 +193,12 @@ test-suite remote-io
193193 buildable : False
194194
195195 type : exitcode-stdio-1.0
196- main-is : Driver .hs
196+ main-is : Main .hs
197197 hs-source-dirs : tests-io
198198 -- See https://github.com/redneb/hs-linux-namespaces/issues/3
199199 ghc-options : -rtsopts -fprof-auto "-with-rtsopts -V0"
200200 other-modules :
201- NixDaemon
202- , Spec
203- build-tool-depends :
204- tasty-discover :tasty-discover
201+ NixDaemonSpec
205202 build-depends :
206203 base >= 4.12 && < 5
207204 , hnix-store-core
@@ -218,8 +215,6 @@ test-suite remote-io
218215 , linux-namespaces
219216 , process
220217 , some
221- , tasty
222- , tasty-hspec
223218 , temporary
224219 , text
225220 , unix
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ module Main where
2+
3+ import qualified Test.Hspec
4+ import qualified NixDaemonSpec
5+
6+ -- we run remote tests in
7+ -- Linux namespaces to avoid interacting with systems store
8+ main :: IO ()
9+ main = do
10+ NixDaemonSpec. enterNamespaces
11+ Test.Hspec. hspec
12+ NixDaemonSpec. spec
You can’t perform that action at this time.
0 commit comments