This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Targetting S12Z


Hi John,

>        * The port should include some new tests in the assembler testsuite, to
>          make sure that assembling and disassembling is working correctly.  If
>          you are including a port of the linker as well, then some new linker
>          tests would also be appropriate.
> 
> Indeed.   Perhaps someone could give me some hints about how tests are run in 
> binutils.  

Just as you tried.  Change into the relevant sub-directory and run "make check".

As for your port, you may find it easiest to just add some extra files into the 
m68k test directories (gas/testsuite/gas/m68k and ld/testsuite/ld-m68k), basing 
them on the files that are already there.


> When I type "make check" I just get a warning that "runtest" cannot
> be found.  I don't know where to get "runtest" or how to install it.

It is usually found in the "dejagnu" package.



> The document I am following is at 
>   https://cache.freescale.com/files/microcontrollers/doc/ref_manual/S12ZCPU_RM_V1.pdf

Thanks.

Cheers
  Nick



Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]