lukexi / halive

Live recompiler for Haskell
BSD 2-Clause "Simplified" License
263 stars 18 forks source link

Testsuite subhalive hangs on d2b91df8182d23fe3d0b7b1b2f885db07b7a6e06 #18

Open deepfire opened 7 years ago

deepfire commented 7 years ago
Running 2 test suites...
Test suite demo: RUNNING...
MAIN BEGIN
demo: SDLCallFailed {sdlExceptionCaller = "SDL.Init.init", sdlFunction = "SDL_Init", sdlExceptionError = "No available video device"}
Test suite demo: FAIL
Test suite logged to: dist/test/halive-0.1.0.8-demo.log
Test suite subhalive: RUNNING...

Commit-id: d2b91df8182d23fe3d0b7b1b2f885db07b7a6e06

lukexi commented 7 years ago

Hm, it runs fine for me on Windows and Mac, are you on Linux? That test is for an OpenGL/SDL2 app and I haven't tested it there. If you can get https://hackage.haskell.org/package/sdl2 to work then that test should work too.

You can run halive Computation.hs (and then edit and save Computation.hs) to check if things are working for terminal-only usage.

I have the tests in the cabal file mainly to make installing their dependencies easier; they're really more of a couple of quick test programs than an actual test suite of any kind : ).

deepfire commented 7 years ago

@lukexi, yes, this is on Linux. The testsuite fails, hackage-wide automated testing setups get upset.. : -)

deepfire commented 7 years ago

Not a problem per se, a mere inconvenience. Will you recommend to disable tests by default?