Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quickstart.sh stucked at running 1 test suites #3

Open
hasanalrasyid opened this issue Aug 30, 2019 · 4 comments
Open

quickstart.sh stucked at running 1 test suites #3

hasanalrasyid opened this issue Aug 30, 2019 · 4 comments

Comments

@hasanalrasyid
Copy link

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
Copy link
Owner

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
Copy link
Author

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
Copy link
Owner

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

@jyrimatti
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants