This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Re: make check-sim problems with fr30 and m32r
"Frank Ch. Eigler" <fche@redhat.com> writes:
> : Is the missing DEJAGNU env variable at fault?
>
> Precisely. For a dejagnu run, you need to identify the target system
> you want to test against. One can do this with a file to which one
> points $DEJAGNU, but I prefer to use command-line options to dejagnu,
> thusly:
>
> make check RUNTESTFLAGS="--target_board=m32r-sim"
>
> The "m32r-sim" name resolves to ".../dejagnu/baseboards/m32r-sim.exp".
OK, but now no tests run:
------------------------------------------------------------------------------
$ make check-sim RUNTESTFLAGS=--target-board=m32r-sim
...
Running ../../../src/sim/testsuite/sim/fr30/allinsn.exp ...
Running ../../../src/sim/testsuite/sim/fr30/misc.exp ...
Running ../../../src/sim/testsuite/sim/m32r/allinsn.exp ...
Running ../../../src/sim/testsuite/sim/m32r/misc.exp ...
=== sim Summary ===
0.5
...
------------------------------------------------------------------------------
Hmmm. I wonder why...
------------------------------------------------------------------------------
$ make check-sim RUNTESTFLAGS=--debug\ -v\ -v\ --target-board=m32r-sim
...
Running ../../../src/sim/testsuite/sim/fr30/allinsn.exp ...
Checking "fr30*-*-*" against "m32r-sim"
Running ../../../src/sim/testsuite/sim/fr30/misc.exp ...
Checking "fr30*-*-*" against "m32r-sim"
Running ../../../src/sim/testsuite/sim/m32r/allinsn.exp ...
Checking "m32r*-*-*" against "m32r-sim"
Running ../../../src/sim/testsuite/sim/m32r/misc.exp ...
Checking "m32r*-*-*" against "m32r-sim"
=== sim Summary ===
0.5
...
------------------------------------------------------------------------------
Frank, what magic do you have that makes m32r-sim match the pattern
"m32r*-*-*" ???
Greg