mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-07 11:50:24 +00:00
parent
0a470e66f2
commit
7f965dad29
@ -10,7 +10,8 @@ assert_spec arndale
|
|||||||
set build_components {
|
set build_components {
|
||||||
core init timer
|
core init timer
|
||||||
drivers/platform
|
drivers/platform
|
||||||
drivers/uart
|
server/terminal_crosslink
|
||||||
|
test/terminal_expect_send
|
||||||
server/vmm
|
server/vmm
|
||||||
}
|
}
|
||||||
build $build_components
|
build $build_components
|
||||||
@ -41,19 +42,18 @@ install_config {
|
|||||||
<resource name="RAM" quantum="1M"/>
|
<resource name="RAM" quantum="1M"/>
|
||||||
<provides><service name="Timer"/></provides>
|
<provides><service name="Timer"/></provides>
|
||||||
</start>
|
</start>
|
||||||
<start name="uart_drv">
|
<start name="terminal_crosslink">
|
||||||
<resource name="RAM" quantum="2M"/>
|
<resource name="RAM" quantum="1M"/>
|
||||||
<provides>
|
<provides> <service name="Terminal"/> </provides>
|
||||||
<service name="Terminal"/>
|
|
||||||
<service name="Uart"/>
|
|
||||||
</provides>
|
|
||||||
<config>
|
|
||||||
<policy label_prefix="vmm" uart="1"/>
|
|
||||||
</config>
|
|
||||||
</start>
|
</start>
|
||||||
<start name="vmm">
|
<start name="vmm">
|
||||||
<resource name="RAM" quantum="256M"/>
|
<resource name="RAM" quantum="256M"/>
|
||||||
</start>
|
</start>
|
||||||
|
<start name="vm">
|
||||||
|
<binary name="test-terminal_expect_send"/>
|
||||||
|
<resource name="RAM" quantum="1M"/>
|
||||||
|
<config expect="/ #" send="ls" verbose="yes"/>
|
||||||
|
</start>
|
||||||
</config>
|
</config>
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -92,8 +92,9 @@ if {![file exists bin/dtb]} {
|
|||||||
set boot_modules {
|
set boot_modules {
|
||||||
core ld.lib.so init
|
core ld.lib.so init
|
||||||
platform_drv
|
platform_drv
|
||||||
uart_drv
|
|
||||||
timer
|
timer
|
||||||
|
terminal_crosslink
|
||||||
|
test-terminal_expect_send
|
||||||
vmm
|
vmm
|
||||||
linux
|
linux
|
||||||
dtb
|
dtb
|
||||||
@ -103,8 +104,5 @@ build_boot_image $boot_modules
|
|||||||
#
|
#
|
||||||
# Execute test case
|
# Execute test case
|
||||||
#
|
#
|
||||||
run_genode_until {.*\/ #.*} 220
|
run_genode_until "\[init -> vm\] .*sbin.*" 220
|
||||||
set serial_id [output_spawn_id]
|
|
||||||
send -i $serial_id "ls\n"
|
|
||||||
run_genode_until "var" 30 $serial_id
|
|
||||||
exec rm bin/linux bin/dtb
|
exec rm bin/linux bin/dtb
|
||||||
|
Loading…
x
Reference in New Issue
Block a user