jyrimatti / hseverywhere

Haskell Everywhere!
MIT License
57 stars 4 forks source link

quickstart.sh stucked at running 1 test suites #3

Open hasanalrasyid opened 5 years ago

hasanalrasyid commented 5 years ago

Attached quickstart.log shown that the process was stuck (not stopped) for more than 24 hours and can only be killed/cancelled.

Building library for tasty-quickcheck-0.10..
[1 of 1] Compiling Test.Tasty.QuickCheck ( Test/Tasty/QuickCheck.hs, dist/build/Test/Tasty/QuickCheck.js_o )
[1 of 1] Compiling Test.Tasty.QuickCheck ( Test/Tasty/QuickCheck.hs, dist/build/Test/Tasty/QuickCheck.js_p_o )
Preprocessing test suite 'test' for tasty-quickcheck-0.10..
Building test suite 'test' for tasty-quickcheck-0.10..
[1 of 1] Compiling Main             ( tests/test.hs, dist/build/test/test-tmp/Main.js_o )
Linking dist/build/test/test.jsexe (Main)
running tests
Running 1 test suites...
Test suite test: RUNNING...

Are there some additional steps required?

$ nix --version
nix (Nix) 2.2.2

quickstart.log

jyrimatti commented 5 years ago

Hi,

some Haskell packages have long-running (and possibly memory-heavy) test suites. You can exclude tests from a Haskell package by adding a suitable line to default.nix:

haskellPackages = hp.override (old: {
    overrides = pkgs.lib.composeExtensions (old.overrides or (_: _: {})) (self: super: {
        tasty-quickcheck = pkgs.haskell.lib.dontCheck super.tasty-quickcheck;
   });});

Does this solve your problem?

hasanalrasyid commented 5 years ago

Yes, it does. On the same issue, following your suggestion, I also excluded tests from scientific and aeson package.

Btw, for following issues to come, should I make another ticket or may I continue this thread?

jyrimatti commented 5 years ago

You can choose yourself whichever way feels easier for you. As long as you somehow let me know of the problems :)

jyrimatti commented 5 years ago

During these years, fighting with below-average quality react-native tooling and it's constant breaking changes would have required much more time than I had to spend. Therefore I'd recommend for you to try the new project template based on renative.org: https://github.com/jyrimatti/renative-hs https://github.com/jyrimatti/renative-hs-example-todo