[erlang-questions] Running OTP Tests

Mikael Pettersson mikpelinux@REDACTED
Fri Mar 8 19:39:36 CET 2019


On Fri, Mar 8, 2019 at 5:01 PM Michael Schmidt <Michael.K.Schmidt@REDACTED>
wrote:

> I’m trying to add test coverage to my PR:
>
> https://github.com/erlang/otp/pull/2114
> <https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ferlang%2Fotp%2Fpull%2F2114&data=02%7C01%7Cmichael.k.schmidt%40se.com%7Cc1a5d97c7c8540b47dd808d6a3ded778%7C6e51e1adc54b4b39b5980ffe9ae68fef%7C0%7C0%7C636876574832649793&sdata=nazK9iv1eOJ%2BmVUPrugleQoUqw06iaTsyzJJQ8cDAds%3D&reserved=0>
>
>
>
> Are there any tips for running specific OTP tests?
>
>
>
> I found this, but it acts like I have to generate a new release everytime
> I modify a .erl file:
>
> https://github.com/erlang/otp/wiki/Running-tests
> <https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ferlang%2Fotp%2Fwiki%2FRunning-tests&data=02%7C01%7Cmichael.k.schmidt%40se.com%7Cc1a5d97c7c8540b47dd808d6a3ded778%7C6e51e1adc54b4b39b5980ffe9ae68fef%7C0%7C0%7C636876574832649793&sdata=7CZLLE1X%2Bj6PnApMjqNduMXWo%2B5CaZ7C6MkFidY6BNg%3D&reserved=0>
>
>
>
> I can successfully run “ts:run(stdlib, beam_lib_SUITE, [batch])”, but I
> can’t seem to make any fixes/changes/etc
>

See HOWTO/TESTING.md, especially the notes about ERL_TOP and PATH.  I
regularly use these instructions to perform regression testing around
changes to Erlang/OTP.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190308/53117189/attachment.htm>


More information about the erlang-questions mailing list