]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
CI: Simplify RISCV smoke testing
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 24 Feb 2023 15:29:01 +0000 (15:29 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 27 Feb 2023 15:51:23 +0000 (15:51 +0000)
Use a single fairly generic string as the "all done" message to look for,
which avoids the need to patch qemu-smoke-riscv64.sh each time a new feature
is added.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
automation/scripts/qemu-smoke-riscv64.sh
xen/arch/riscv/setup.c

index e0f06360bc43dee3f37ed8b4456656e3468f9159..4008191302f933c7d37be842249c57213a9a1ed3 100755 (executable)
@@ -16,5 +16,5 @@ qemu-system-riscv64 \
     |& tee smoke.serial
 
 set -e
-(grep -q "Hello from C env" smoke.serial) || exit 1
+(grep -q "All set up" smoke.serial) || exit 1
 exit 0
index d09ffe1454a4f1f262dc8ac2d96b53156b8d2a71..1c87899e8e90ac3bd0d545ed6a9c88bda51d96cc 100644 (file)
@@ -11,6 +11,7 @@ void __init noreturn start_xen(void)
 {
     early_printk("Hello from C env\n");
 
+    early_printk("All set up\n");
     for ( ;; )
         asm volatile ("wfi");