poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] pickles: add pickle for RISC-V RV32I instruction set


From: Mohammad-Reza Nabipoor
Subject: Re: [PATCH v2] pickles: add pickle for RISC-V RV32I instruction set
Date: Sun, 18 Sep 2022 19:01:16 +0430

On Sun, Sep 18, 2022 at 04:24:09PM +0200, Jose E. Marchesi wrote:
>
>
> > On Sun, Sep 18, 2022 at 10:23:35AM +0200, Jose E. Marchesi wrote:
> >
> > The problem with tests is that we need `riscv32-elf-as' and
> > `riscv32-elf-objdump` to run the tests.
> > That's the problem with using current tests.
>
> Not an issue.  You can add dejagnu (Tcl) machinery for that in
> poke/testsuite/lib/whatever.exp and use it in testsuite/poke.pickles.
>

I mean current tests (on pokology) need `riscv32-elf-as` assembler and
`riscv32-elf-objdump`.
We cannot expect users to have those on their machines.

Instead, we can save `.text` of test ELFs and use them for testing (like
the approach in `testsuite/poke.pickles/btf-test.pk`).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]