On Thu, Jul 27, 2023 at 6:33 PM Daniel Henrique Barboza <dbarb...@ventanamicro.com> wrote: > > Add smoke tests to ensure that we'll not break the 'max' CPU type when > adding new ratified extensions to be enabled. > > Signed-off-by: Daniel Henrique Barboza <dbarb...@ventanamicro.com>
Reviewed-by: Alistair Francis <alistair.fran...@wdc.com> Alistair > --- > tests/avocado/riscv_opensbi.py | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/tests/avocado/riscv_opensbi.py b/tests/avocado/riscv_opensbi.py > index bfff9cc3c3..15fd57fe51 100644 > --- a/tests/avocado/riscv_opensbi.py > +++ b/tests/avocado/riscv_opensbi.py > @@ -61,3 +61,19 @@ def test_riscv64_virt(self): > :avocado: tags=machine:virt > """ > self.boot_opensbi() > + > + def test_riscv32_virt_maxcpu(self): > + """ > + :avocado: tags=arch:riscv32 > + :avocado: tags=machine:virt > + :avocado: tags=cpu:max > + """ > + self.boot_opensbi() > + > + def test_riscv64_virt_maxcpu(self): > + """ > + :avocado: tags=arch:riscv64 > + :avocado: tags=machine:virt > + :avocado: tags=cpu:max > + """ > + self.boot_opensbi() > -- > 2.41.0 > >