[erlang-questions] Help running OTP tests

Håkan Mattsson hm@REDACTED
Thu Nov 22 09:55:13 CET 2012


Sorry. I got the impression that you just needed to run the Mnesia tests.

/Håkan

On Wed, Nov 21, 2012 at 5:34 PM, Loïc Hoguin <essen@REDACTED> wrote:
> Alright but then how do I run everything except mnesia when I'm running the
> OTP test suite? My changes touch a lot of applications.
>
>
> On 11/21/2012 05:19 PM, Håkan Mattsson wrote:
>>
>> Maybe it is simpler to use Mnesia's own mini test server. See
>> lib/mnesia/test/README for details.
>> I principle you do like this:
>>
>> export ERL_TOP=<INSTALL_DIR>
>> cd $ERL_TOP/lib/mnesia/test
>> make
>> ./mt
>>
>> %% Run this in the a-node
>> mt:t({mnesia_SUITE, all}).
>>
>> /Håkan
>>
>> On Wed, Nov 21, 2012 at 5:02 PM, Loïc Hoguin <essen@REDACTED> wrote:
>>>
>>> (replying to the ML too)
>>>
>>> Not sure how disabling the timeout would help it start slave nodes?
>>>
>>> I'm running the tests using ts:run/0. Shouldn't mnesia work if I just
>>> follow
>>> the indications found here?
>>> https://github.com/erlang/otp/wiki/Running-tests
>>>
>>> On 11/21/2012 04:50 PM, Klodus Klodus wrote:
>>>>
>>>>
>>>> Hi,
>>>>
>>>> Look at README file in Mnesia test directory:
>>>>
>>>> "Use the "erl -mnesia_test_timeout" flag to disable the test case time
>>>> limit mechanism."
>>>>
>>>> I hope it helps.
>>>>
>>>> BR,
>>>> Klaudiusz
>>>>
>>>>
>>>> 2012/11/20 Loïc Hoguin <essen@REDACTED>:
>>>>
>>>>> Hello,
>>>>>
>>>>> I'm trying, and failing, to run the Mnesia tests on my laptop.
>>>>>
>>>>> This is what I get, repeatedly, over many of them:
>>>>>
>>>>> Could not start slavenode {"alice","d808219o808643n808671",
>>>>>                              "-mnesia debug none -pa
>>>>> /home/essen/extend/otp/release/tests/mnesia_test -pa
>>>>> /home/essen/extend/otp/lib/mnesia/ebin"} timeout retrying
>>>>>
>>>>> "alice" is my laptop's hostname.
>>>>>
>>>>> Any idea why and how I can fix it?
>>>>>
>>>>> --
>>>>> Loïc Hoguin
>>>>> Erlang Cowboy
>>>>> Nine Nines
>>>>> http://ninenines.eu
>>>>> _______________________________________________
>>>>> erlang-questions mailing list
>>>>> erlang-questions@REDACTED
>>>>> http://erlang.org/mailman/listinfo/erlang-questions
>>>
>>>
>>>
>>>
>>> --
>>> Loïc Hoguin
>>> Erlang Cowboy
>>> Nine Nines
>>> http://ninenines.eu
>>> _______________________________________________
>>> erlang-questions mailing list
>>> erlang-questions@REDACTED
>>> http://erlang.org/mailman/listinfo/erlang-questions
>
>
>
> --
> Loïc Hoguin
> Erlang Cowboy
> Nine Nines
> http://ninenines.eu
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions



More information about the erlang-questions mailing list