mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 15:02:25 +00:00
484bde4b4b
Issue #4968
78 lines
1.8 KiB
Plaintext
78 lines
1.8 KiB
Plaintext
#
|
|
# Debian 32bit VM cloning Genode git sources, preparing and building pieces
|
|
#
|
|
|
|
assert_spec x86
|
|
assert_spec nova
|
|
|
|
set flavor "stress_32"
|
|
set vm_ram "1280M"
|
|
|
|
set use_vbox5 1
|
|
|
|
set use_rumpfs 1
|
|
set use_ram_fs 1
|
|
set use_overlay_from_disk 1
|
|
|
|
set use_serial 1
|
|
|
|
set use_usb 0
|
|
set use_ps2 1
|
|
|
|
set use_vms 1
|
|
set use_cpu_load 0
|
|
|
|
set output_host ""
|
|
set output_host_extra ""
|
|
set results_expected { }
|
|
set boottime_expected { }
|
|
|
|
set match_guest_log "\[init -\> log_terminal\]"
|
|
set match_boot_string "\[init -\> vbox.*\].*Using VMX virtualization extension"
|
|
#set match_guest_down
|
|
|
|
set vmm_name "vbox5_nova"
|
|
|
|
set use_vcpus 1
|
|
lappend results_expected 1 2 22 77
|
|
lappend boottime_expected 58
|
|
source ${genode_dir}/repos/ports/run/vbox_win.inc
|
|
source ${genode_dir}/repos/ports/run/vmm_vm_stress.inc
|
|
kill_spawned [output_spawn_id]
|
|
|
|
set use_vcpus 2
|
|
lappend results_expected 2 2 22 47
|
|
lappend boottime_expected 58
|
|
source ${genode_dir}/repos/ports/run/vbox_win.inc
|
|
source ${genode_dir}/repos/ports/run/vmm_vm_stress.inc
|
|
kill_spawned [output_spawn_id]
|
|
|
|
set use_vcpus 3
|
|
lappend results_expected 3 2 22 37
|
|
lappend boottime_expected 58
|
|
source ${genode_dir}/repos/ports/run/vbox_win.inc
|
|
source ${genode_dir}/repos/ports/run/vmm_vm_stress.inc
|
|
kill_spawned [output_spawn_id]
|
|
|
|
set use_vcpus 4
|
|
lappend results_expected 4 2 21 33
|
|
lappend boottime_expected 58
|
|
source ${genode_dir}/repos/ports/run/vbox_win.inc
|
|
source ${genode_dir}/repos/ports/run/vmm_vm_stress.inc
|
|
kill_spawned [output_spawn_id]
|
|
|
|
#
|
|
# Dump aggregated output of the several runs above
|
|
#
|
|
grep_output "$match_guest_log.*cpus="
|
|
|
|
puts $output
|
|
|
|
set merge_host_output [split $output_host "\n"]
|
|
set merge_host_extra [split $output_host_extra "\n"]
|
|
for { set i 0 } { $i < [llength $merge_host_output] } { incr i} {
|
|
puts "[lindex $merge_host_output $i] [lindex $merge_host_extra $i]"
|
|
}
|
|
|
|
evaluate_stress
|