[erlang-questions] Help running OTP tests

Håkan Mattsson hm@REDACTED
Wed Nov 21 17:19:05 CET 2012


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



More information about the erlang-questions mailing list