bgamari / ghc-debug

Moved to Haskell.org GitLab.
https://gitlab.haskell.org/ghc/ghc-debug
62 stars 10 forks source link

Thoughts about a testing framework #2

Open mpickering opened 5 years ago

mpickering commented 5 years ago

We need to have a good way to test the library once everything is up and running. It is easy to introduce segfaults or other problems (such as hangs) due to the use of sockets. There is a lot of untyped code which has to align with each other.

I wonder if a library like lsp-test would be good inspiration for how to perform the necessary testing.

This question is moot anyway until there is a GHC release which has the necessary RTS methods in to support the interface.