Message ID | 38ddf88eabd9cc36c332d6a27c6ee1242d33df19.1677250203.git.oleksii.kurochko@gmail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | enable MMU for RISC-V | expand |
On 24/02/2023 3:06 pm, Oleksii Kurochko wrote: > The smoke test was updated to verify that MMU has been enabled. > > Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com> > --- > automation/scripts/qemu-smoke-riscv64.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/automation/scripts/qemu-smoke-riscv64.sh b/automation/scripts/qemu-smoke-riscv64.sh > index 02fc66be03..01cd08e407 100755 > --- a/automation/scripts/qemu-smoke-riscv64.sh > +++ b/automation/scripts/qemu-smoke-riscv64.sh > @@ -16,5 +16,5 @@ qemu-system-riscv64 \ > |& tee smoke.serial > > set -e > -(grep -q "WARN is most likely working" smoke.serial) || exit 1 > +(grep -q "MMU has been enabled" smoke.serial) || exit 1 > exit 0 There's a more simple way than this. I'll do a patch. ~Andrew
On Fri, 2023-02-24 at 15:27 +0000, Andrew Cooper wrote: > On 24/02/2023 3:06 pm, Oleksii Kurochko wrote: > > The smoke test was updated to verify that MMU has been enabled. > > > > Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com> > > --- > > automation/scripts/qemu-smoke-riscv64.sh | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/automation/scripts/qemu-smoke-riscv64.sh > > b/automation/scripts/qemu-smoke-riscv64.sh > > index 02fc66be03..01cd08e407 100755 > > --- a/automation/scripts/qemu-smoke-riscv64.sh > > +++ b/automation/scripts/qemu-smoke-riscv64.sh > > @@ -16,5 +16,5 @@ qemu-system-riscv64 \ > > |& tee smoke.serial > > > > set -e > > -(grep -q "WARN is most likely working" smoke.serial) || exit 1 > > +(grep -q "MMU has been enabled" smoke.serial) || exit 1 > > exit 0 > > There's a more simple way than this. I'll do a patch. Definitely your way is more simple. Thanks. > > ~Andrew ~ Oleksii
diff --git a/automation/scripts/qemu-smoke-riscv64.sh b/automation/scripts/qemu-smoke-riscv64.sh index 02fc66be03..01cd08e407 100755 --- a/automation/scripts/qemu-smoke-riscv64.sh +++ b/automation/scripts/qemu-smoke-riscv64.sh @@ -16,5 +16,5 @@ qemu-system-riscv64 \ |& tee smoke.serial set -e -(grep -q "WARN is most likely working" smoke.serial) || exit 1 +(grep -q "MMU has been enabled" smoke.serial) || exit 1 exit 0
The smoke test was updated to verify that MMU has been enabled. Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com> --- automation/scripts/qemu-smoke-riscv64.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)