File: dont-build-tests.patch

package info (click to toggle)
haskell-debian 3.64-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 364 kB
  • sloc: haskell: 3,226; ansic: 8; makefile: 3
file content (35 lines) | stat: -rw-r--r-- 756 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
--- a/debian.cabal
+++ b/debian.cabal
@@ -28,7 +28,6 @@
    directory,
    filepath,
    HaXml >= 1.20,
-   HUnit,
    mtl,
    network,
    old-locale,
@@ -80,11 +79,7 @@
         Debian.URI,
         Debian.Util.FakeChanges
  other-modules:
-        Debian.Version.Internal,
-        Test.Changes,
-        Test.Dependencies,
-        Test.SourcesList,
-        Test.Versions
+        Debian.Version.Internal
 
 Executable fakechanges
  Main-is: utils/FakeChanges.hs
--- a/Setup.hs
+++ b/Setup.hs
@@ -6,8 +6,7 @@
 import System.Exit
 
 main = defaultMainWithHooks simpleUserHooks {
-         postBuild = \ _ _ _ _ -> runTestScript
-       , runTests = \ _ _ _ _ -> runTestScript
+       runTests = \ _ _ _ _ -> runTestScript
        }
 
 runTestScript =