OSDN Git Service

powerpc/test_emulate_step: Enhancement to test negative scenarios
authorBalamuruhan S <bala24@linux.ibm.com>
Fri, 26 Jun 2020 09:51:55 +0000 (15:21 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 23 Jul 2020 07:43:01 +0000 (17:43 +1000)
commit93c3a0ba2a0863a5c82a518d64044434f82a57f5
tree5acb904e0076b2554469a0447eede7955bb182ae
parent8b98afc117aaf825c66d7ddd59f1849e559b42cd
powerpc/test_emulate_step: Enhancement to test negative scenarios

add provision to declare test is a negative scenario, verify
whether emulation fails and avoid executing it.

Signed-off-by: Balamuruhan S <bala24@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200626095158.1031507-2-bala24@linux.ibm.com
arch/powerpc/lib/test_emulate_step.c