MichaelXavier / cron

Cron data structure and parser for Haskell
Other
53 stars 33 forks source link

cron-0.3.1 can't compile its test suite #22

Closed peti closed 8 years ago

peti commented 9 years ago

Apparently, the release tarball on Hackage is incomplete:

Preprocessing test suite 'test' for cron-0.3.1...

test/Main.hs:8:18:
    Could not find module ‘SpecHelper’
    Use -v to see a list of the files searched for.

test/Main.hs:9:18:
    Could not find module ‘System.Test.Cron’
    Use -v to see a list of the files searched for.

test/Main.hs:10:18:
    Could not find module ‘System.Test.Cron.Parser’
    Perhaps you meant
      System.Cron.Parser (from cron-0.3.1@cron_CFXF91iTeegJXloOfnE9xl)
    Use -v to see a list of the files searched for.

test/Main.hs:11:18:
    Could not find module ‘System.Test.Cron.Schedule’
    Perhaps you meant
      System.Cron.Schedule (from cron-0.3.1@cron_CFXF91iTeegJXloOfnE9xl)
    Use -v to see a list of the files searched for.
bergmark commented 9 years ago

Also on stackage, i disabled the test suite there for now.

MichaelXavier commented 9 years ago

Released 0.3.2. This happens in almost every one of my projects when I add modules to the test suite and don't explicitly mention them in the cabal file. Have you folks found a good way to either automate this or test for it?

peti commented 9 years ago

Run cabal sdistin your travis-ci job and use the generated tarball to build/test rather than the source from Git.

bergmark commented 8 years ago

stack warns about this