Re: rtems-test not running tests for leon3

2021-03-23 Thread Richi Dubey
The test does not execute TEST_END() and exits just like that:
https://git.rtems.org/rtems/tree/testsuites/samples/minimum/init.c#n31,
hence it is always flagged as a failure in rtems-test.

On Wed, Mar 24, 2021 at 2:55 AM Chris Johns  wrote:

> On 24/3/21 1:18 am, Richi Dubey wrote:
> > Afaik minimum tests are supposed to fail.
>
> This is something I am not sure about. It is minimal by definition and as a
> result does not print anything so it is impossible to determine if the
> test runs
> of fails. As an example to show how small RTEMS can be it is fine however
> as a
> test in a strict theoretical sense it is like a cat in a box. Maybe it
> should
> flagged no run however if it does crash we will never know because we do
> not run
> it  and so we circle the loop.
>
> Chris
>
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: rtems-test not running tests for leon3

2021-03-23 Thread Chris Johns
On 24/3/21 1:18 am, Richi Dubey wrote:
> Afaik minimum tests are supposed to fail.

This is something I am not sure about. It is minimal by definition and as a
result does not print anything so it is impossible to determine if the test runs
of fails. As an example to show how small RTEMS can be it is fine however as a
test in a strict theoretical sense it is like a cat in a box. Maybe it should
flagged no run however if it does crash we will never know because we do not run
it  and so we circle the loop.

Chris
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: rtems-test not running tests for leon3

2021-03-23 Thread Joel Sherrill
On Tue, Mar 23, 2021 at 10:32 AM Ryan Long  wrote:

> I’m on the master branch of rtems-tools, but the output is the same when I
> run it from the rtems-test included in tools/bin.
>
>
Just checking. sis was originally built into gdb. It was separated out and
this tester configuration just got missed. It needs to be removed.


>
>
> I got it to run with sparc-rtems6-sis, though.
>

That's what you should be using (or qemu)

--joel



>
>
> *From:* Joel Sherrill 
> *Sent:* Tuesday, March 23, 2021 9:22 AM
> *To:* Ryan Long 
> *Cc:* rtems-de...@rtems.org 
> *Subject:* Re: rtems-test not running tests for leon3
>
>
>
> Are you sure this is the master for RTEMS test?
>
>
>
> The sis simulator has been out of gdb for a while. I would hope the tester
> configuration is gone. But apparently it isn't. You shouldn't use leon3. It
> needs to be removed.
>
>
>
> Use leon3-sis or leon3-qemu
>
> On Tue, Mar 23, 2021, 9:07 AM Ryan Long  wrote:
>
> Hi,
>
>
>
> I’ve been trying to run the tests for leon3, but the only test that runs
> properly is the minimum test. All  of the others produce output like so in
> the log file.
>
>
>
> [334/597] p:0   f:0   u:0   e:0   I:0   B:0   t:0   L:0   i:329 W:0   |
> sparc/leon3: nsecs.exe
>
> Result: invalidTime: 0:00:02.754956
> nsecs.exe
>
> =>  gdb: /home/rlong/rtems-work/tools/bin/sparc-rtems6-gdb -i=mi --nx
> --quiet rtems/build/sparc/leon3/testsuites/samples/nsecs.exe
>
> =>  Reading symbols from
> rtems/build/sparc/leon3/testsuites/samples/nsecs.exe...
>
> =>  target sim
> -leon3
>
> =>  Undefined target command: "sim -leon3".  Try "help
> target".
>
> =>  quit
>
>
>
> Does anyone know how to run these?
>
>
>
> And should I file a ticket for this and fix it in rtems-test?
>
>
>
> Thanks,
>
> Ryan
>
> ___
> devel mailing list
> devel@rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
>
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

RE: rtems-test not running tests for leon3

2021-03-23 Thread Ryan Long
I’m on the master branch of rtems-tools, but the output is the same when I run 
it from the rtems-test included in tools/bin.

I got it to run with sparc-rtems6-sis, though.

From: Joel Sherrill 
Sent: Tuesday, March 23, 2021 9:22 AM
To: Ryan Long 
Cc: rtems-de...@rtems.org 
Subject: Re: rtems-test not running tests for leon3

Are you sure this is the master for RTEMS test?

The sis simulator has been out of gdb for a while. I would hope the tester 
configuration is gone. But apparently it isn't. You shouldn't use leon3. It 
needs to be removed.

Use leon3-sis or leon3-qemu
On Tue, Mar 23, 2021, 9:07 AM Ryan Long 
mailto:ryan.l...@oarcorp.com>> wrote:
Hi,

I’ve been trying to run the tests for leon3, but the only test that runs 
properly is the minimum test. All  of the others produce output like so in the 
log file.

[334/597] p:0   f:0   u:0   e:0   I:0   B:0   t:0   L:0   i:329 W:0   | 
sparc/leon3: nsecs.exe
Result: invalidTime: 0:00:02.754956 nsecs.exe
=>  gdb: /home/rlong/rtems-work/tools/bin/sparc-rtems6-gdb -i=mi --nx --quiet 
rtems/build/sparc/leon3/testsuites/samples/nsecs.exe
=>  Reading symbols from rtems/build/sparc/leon3/testsuites/samples/nsecs.exe...
=>  target sim -leon3
=>  Undefined target command: "sim -leon3".  Try "help target".
=>  quit

Does anyone know how to run these?

And should I file a ticket for this and fix it in rtems-test?

Thanks,
Ryan
___
devel mailing list
devel@rtems.org<mailto:devel@rtems.org>
http://lists.rtems.org/mailman/listinfo/devel
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: rtems-test not running tests for leon3

2021-03-23 Thread Joel Sherrill
Are you sure this is the master for RTEMS test?

The sis simulator has been out of gdb for a while. I would hope the tester
configuration is gone. But apparently it isn't. You shouldn't use leon3. It
needs to be removed.

Use leon3-sis or leon3-qemu

On Tue, Mar 23, 2021, 9:07 AM Ryan Long  wrote:

> Hi,
>
>
>
> I’ve been trying to run the tests for leon3, but the only test that runs
> properly is the minimum test. All  of the others produce output like so in
> the log file.
>
>
>
> [334/597] p:0   f:0   u:0   e:0   I:0   B:0   t:0   L:0   i:329 W:0   |
> sparc/leon3: nsecs.exe
>
> Result: invalidTime: 0:00:02.754956
> nsecs.exe
>
> =>  gdb: /home/rlong/rtems-work/tools/bin/sparc-rtems6-gdb -i=mi --nx
> --quiet rtems/build/sparc/leon3/testsuites/samples/nsecs.exe
>
> =>  Reading symbols from
> rtems/build/sparc/leon3/testsuites/samples/nsecs.exe...
>
> =>  target sim
> -leon3
>
> =>  Undefined target command: "sim -leon3".  Try "help
> target".
>
> =>  quit
>
>
>
> Does anyone know how to run these?
>
>
>
> And should I file a ticket for this and fix it in rtems-test?
>
>
>
> Thanks,
>
> Ryan
> ___
> devel mailing list
> devel@rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: rtems-test not running tests for leon3

2021-03-23 Thread Richi Dubey
Afaik minimum tests are supposed to fail.

On Tue, Mar 23, 2021 at 7:37 PM Ryan Long  wrote:

> Hi,
>
>
>
> I’ve been trying to run the tests for leon3, but the only test that runs
> properly is the minimum test. All  of the others produce output like so in
> the log file.
>
>
>
> [334/597] p:0   f:0   u:0   e:0   I:0   B:0   t:0   L:0   i:329 W:0   |
> sparc/leon3: nsecs.exe
>
> Result: invalidTime: 0:00:02.754956
> nsecs.exe
>
> =>  gdb: /home/rlong/rtems-work/tools/bin/sparc-rtems6-gdb -i=mi --nx
> --quiet rtems/build/sparc/leon3/testsuites/samples/nsecs.exe
>
> =>  Reading symbols from
> rtems/build/sparc/leon3/testsuites/samples/nsecs.exe...
>
> =>  target sim
> -leon3
>
> =>  Undefined target command: "sim -leon3".  Try "help
> target".
>
> =>  quit
>
>
>
> Does anyone know how to run these?
>
>
>
> And should I file a ticket for this and fix it in rtems-test?
>
>
>
> Thanks,
>
> Ryan
> ___
> devel mailing list
> devel@rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel