Created
July 16, 2013 06:39
-
-
Save qrilka/6006305 to your computer and use it in GitHub Desktop.
cabal-dev ghci problems
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
qrilka@qdesktop ~/ws/h/ghci-test $ rm -rf cabal-dev | |
qrilka@qdesktop ~/ws/h/ghci-test $ cabal-dev install --enable-tests | |
Warning: The package list for 'hackage.haskell.org' is 39 days old. | |
Run 'cabal update' to get the latest list of available packages. | |
Resolving dependencies... | |
Configuring ghci-test-0.1.0.0... | |
Building ghci-test-0.1.0.0... | |
Preprocessing library ghci-test-0.1.0.0... | |
In-place registering ghci-test-0.1.0.0... | |
Preprocessing test suite 'ghci-tests' for ghci-test-0.1.0.0... | |
[1 of 2] Compiling Test.Ghci ( src/Test/Ghci.hs, dist/build/ghci-tests/ghci-tests-tmp/Test/Ghci.o ) | |
[2 of 2] Compiling Main ( tests/GhciTests.hs, dist/build/ghci-tests/ghci-tests-tmp/Main.o ) | |
Loading package ghc-prim ... linking ... done. | |
Loading package integer-gmp ... linking ... done. | |
Loading package base ... linking ... done. | |
Loading package array-0.4.0.1 ... linking ... done. | |
Loading package filepath-1.3.0.1 ... linking ... done. | |
Loading package deepseq-1.3.0.1 ... linking ... done. | |
Loading package old-locale-1.0.0.5 ... linking ... done. | |
Loading package time-1.4.0.1 ... linking ... done. | |
Loading package bytestring-0.10.0.2 ... linking ... done. | |
Loading package unix-2.6.0.1 ... linking ... done. | |
Loading package directory-1.2.0.1 ... linking ... done. | |
Loading package old-time-1.1.0.1 ... linking ... done. | |
Loading package cpphs-1.16 ... linking ... done. | |
Loading package pretty-1.1.1.0 ... linking ... done. | |
Loading package haskell-src-exts-1.13.5 ... linking ... done. | |
Loading package containers-0.5.0.0 ... linking ... done. | |
Loading package transformers-0.3.0.0 ... linking ... done. | |
Loading package mtl-2.1.2 ... linking ... done. | |
Loading package regex-base-0.93.2 ... linking ... done. | |
Loading package regex-posix-0.95.2 ... linking ... done. | |
Loading package template-haskell ... linking ... done. | |
Loading package language-haskell-extract-0.2.4 ... linking ... done. | |
Loading package ansi-terminal-0.6 ... linking ... done. | |
Loading package ansi-wl-pprint-0.6.6 ... linking ... done. | |
Loading package extensible-exceptions-0.1.1.4 ... linking ... done. | |
Loading package hostname-1.0 ... linking ... done. | |
Loading package random-1.0.1.1 ... linking ... done. | |
Loading package text-0.11.3.1 ... linking ... done. | |
Loading package xml-1.3.13 ... linking ... done. | |
Loading package test-framework-0.8 ... linking ... done. | |
Loading package test-framework-th-0.2.4 ... linking ... done. | |
Loading package QuickCheck-2.6 ... linking ... done. | |
Loading package test-framework-quickcheck2-0.3.0.1 ... linking ... done. | |
Loading package HUnit-1.2.5.2 ... linking ... done. | |
Loading package test-framework-hunit-0.3.0 ... linking ... done. | |
Linking dist/build/ghci-tests/ghci-tests ... | |
Running 1 test suites... | |
Test suite ghci-tests: RUNNING... | |
Test suite ghci-tests: PASS | |
Test suite logged to: dist/test/ghci-test-0.1.0.0-ghci-tests.log | |
1 of 1 test suites (1 of 1 test cases) passed. | |
Installing library in | |
/home/qrilka/ws/h/ghci-test/cabal-dev//lib/ghci-test-0.1.0.0/ghc-7.6.3 | |
Registering ghci-test-0.1.0.0... | |
Installed ghci-test-0.1.0.0 | |
qrilka@qdesktop ~/ws/h/ghci-test $ cabal-dev ghci | |
GHCi, version 7.6.3: http://www.haskell.org/ghc/ :? for help | |
Loading package ghc-prim ... linking ... done. | |
Loading package integer-gmp ... linking ... done. | |
Loading package base ... linking ... done. | |
Ok, modules loaded: Test.Ghci. | |
λ> :l tests/GhciTests.hs | |
tests/GhciTests.hs:5:18: | |
Could not find module `Test.HUnit' | |
It is a member of the hidden package `HUnit-1.2.5.2'. | |
Perhaps you need to add `HUnit' to the build-depends in your .cabal file. | |
Use -v to see a list of the files searched for. | |
Failed, modules loaded: none. | |
λ> :q | |
Leaving GHCi. | |
qrilka@qdesktop ~/ws/h/ghci-test $ cabal-dev test | |
Running 1 test suites... | |
Test suite ghci-tests: RUNNING... | |
Test suite ghci-tests: PASS | |
Test suite logged to: dist/test/ghci-test-0.1.0.0-ghci-tests.log | |
1 of 1 test suites (1 of 1 test cases) passed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment