2018-12-17 11:44:57 +00:00
|
|
|
build { core init timer test/block_request_stream app/block_tester }
|
|
|
|
|
|
|
|
create_boot_directory
|
|
|
|
|
|
|
|
install_config {
|
|
|
|
<config>
|
|
|
|
<parent-provides>
|
|
|
|
<service name="ROM"/>
|
|
|
|
<service name="RAM"/>
|
|
|
|
<service name="IRQ"/>
|
|
|
|
<service name="IO_MEM"/>
|
|
|
|
<service name="IO_PORT"/>
|
|
|
|
<service name="PD"/>
|
|
|
|
<service name="RM"/>
|
|
|
|
<service name="CPU"/>
|
|
|
|
<service name="LOG"/>
|
|
|
|
</parent-provides>
|
|
|
|
|
|
|
|
<default-route>
|
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
|
|
</default-route>
|
|
|
|
|
|
|
|
<default caps="100"/>
|
|
|
|
<start name="timer">
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
<provides><service name="Timer"/></provides>
|
|
|
|
</start>
|
|
|
|
|
|
|
|
<start name="test-block_request_stream">
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
<provides><service name="Block"/></provides>
|
|
|
|
<config/>
|
|
|
|
<route> <any-service> <parent/> </any-service> </route>
|
|
|
|
</start>
|
|
|
|
|
|
|
|
<start name="block_tester">
|
|
|
|
<resource name="RAM" quantum="32M"/>
|
|
|
|
<config verbose="yes" report="no" log="yes" stop_on_error="no">
|
|
|
|
<tests>
|
2019-04-11 19:36:28 +00:00
|
|
|
<sequential copy="no" length="16M" size="4K"/>
|
|
|
|
<sequential copy="no" length="16M" size="8K"/>
|
|
|
|
|
|
|
|
<sequential copy="no" length="3G" size="16K" batch="32"/>
|
2022-01-25 15:20:17 +00:00
|
|
|
<sequential copy="no" length="15G" size="64K" batch="32"/>
|
2019-04-11 19:36:28 +00:00
|
|
|
<sequential copy="no" length="30G" size="128K" batch="32"/>
|
|
|
|
|
|
|
|
<sequential copy="no" length="16M" size="4K" write="yes"/>
|
|
|
|
<sequential copy="no" length="16M" size="64K" write="yes"/>
|
|
|
|
|
|
|
|
<!-- test client-side request splitting -->
|
|
|
|
<sequential copy="no" length="16M" size="512K" io_buffer="64K"/>
|
2018-12-17 11:44:57 +00:00
|
|
|
</tests>
|
|
|
|
</config>
|
|
|
|
<route>
|
|
|
|
<service name="Block"> <child name="test-block_request_stream"/> </service>
|
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
|
|
</route>
|
|
|
|
</start>
|
|
|
|
</config>}
|
|
|
|
|
|
|
|
|
|
|
|
build_boot_image { core init timer block_tester test-block_request_stream ld.lib.so }
|
|
|
|
|
|
|
|
|
2021-05-11 11:56:44 +00:00
|
|
|
append qemu_args " -nographic "
|
2018-12-17 11:44:57 +00:00
|
|
|
|
|
|
|
run_genode_until {.*child "block_tester" exited with exit value 0.*\n} 360
|