x86_64: update successful-boot test
This commit is contained in:
@@ -34,15 +34,10 @@ initrd=$5
|
||||
while true; do
|
||||
log "Test $count"
|
||||
result_file="$log_dir/$count.log"
|
||||
$qemu \
|
||||
-kernel $kernel \
|
||||
-initrd $initrd \
|
||||
-serial file:$result_file \
|
||||
-cpu qemu64,+rdrand \
|
||||
--append kernel.early-console=ttyS0 -s > /dev/null &
|
||||
ninja run-cdrom-bochs > $result_file &
|
||||
qemu_id=$!
|
||||
|
||||
sleep 1.2
|
||||
sleep 5
|
||||
|
||||
$python $validation_script successful-boot $result_file $logfile
|
||||
result=$?
|
||||
@@ -54,12 +49,9 @@ while true; do
|
||||
else
|
||||
mv $result_file "$result_file.FAIL"
|
||||
fail=$fail+1
|
||||
lldb \
|
||||
-o "file kernel/mango_kernel.debug" \
|
||||
-o "gdb-remote localhost:1234"
|
||||
fi
|
||||
|
||||
kill -INT $qemu_id
|
||||
killall -9 bochs
|
||||
|
||||
log "---------------"
|
||||
log "Total tests: $count"
|
||||
|
||||
Reference in New Issue
Block a user