diff --git a/repos/os/recipes/pkg/test-lx_block/archives b/repos/os/recipes/pkg/test-lx_block/archives
index c7ae0b5591..5ba5b76f65 100644
--- a/repos/os/recipes/pkg/test-lx_block/archives
+++ b/repos/os/recipes/pkg/test-lx_block/archives
@@ -1,3 +1,3 @@
_/src/init
_/src/lx_block
-_/src/test-block
+_/src/block_tester
diff --git a/repos/os/recipes/pkg/test-lx_block/runtime b/repos/os/recipes/pkg/test-lx_block/runtime
index 533ed78208..85e6e4f5e5 100644
--- a/repos/os/recipes/pkg/test-lx_block/runtime
+++ b/repos/os/recipes/pkg/test-lx_block/runtime
@@ -3,14 +3,14 @@
-
- Done
+
+ child "block_tester" exited with exit value 0
Error:
-
+
@@ -37,8 +37,18 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/repos/os/recipes/pkg/test-part_block_gpt/archives b/repos/os/recipes/pkg/test-part_block_gpt/archives
index 29a5d43a6b..488aebe2b2 100644
--- a/repos/os/recipes/pkg/test-part_block_gpt/archives
+++ b/repos/os/recipes/pkg/test-part_block_gpt/archives
@@ -3,5 +3,5 @@ _/src/report_rom
_/src/part_block
_/src/vfs
_/src/vfs_block
-_/src/test-block
+_/src/block_tester
_/raw/test-part_block_gpt
diff --git a/repos/os/recipes/pkg/test-part_block_gpt/runtime b/repos/os/recipes/pkg/test-part_block_gpt/runtime
index afe0317dad..35243625e5 100644
--- a/repos/os/recipes/pkg/test-part_block_gpt/runtime
+++ b/repos/os/recipes/pkg/test-part_block_gpt/runtime
@@ -5,8 +5,8 @@
- --- all tests finished ---*
- --- all tests finished ---
+ child "test-part*" exited with exit value 0*
+ child "test-part*" exited with exit value 0
Error:
@@ -16,7 +16,7 @@
-
+
@@ -68,15 +68,25 @@
-
+
+
+
+
+
+
-
+
+
+
+
+
+
diff --git a/repos/os/recipes/pkg/test-part_block_mbr/archives b/repos/os/recipes/pkg/test-part_block_mbr/archives
index 81beb9f7af..7eaed99ede 100644
--- a/repos/os/recipes/pkg/test-part_block_mbr/archives
+++ b/repos/os/recipes/pkg/test-part_block_mbr/archives
@@ -3,5 +3,5 @@ _/src/report_rom
_/src/part_block
_/src/vfs
_/src/vfs_block
-_/src/test-block
+_/src/block_tester
_/raw/test-part_block_mbr
diff --git a/repos/os/recipes/pkg/test-part_block_mbr/runtime b/repos/os/recipes/pkg/test-part_block_mbr/runtime
index 0efafa7c5b..7e48de58af 100644
--- a/repos/os/recipes/pkg/test-part_block_mbr/runtime
+++ b/repos/os/recipes/pkg/test-part_block_mbr/runtime
@@ -5,9 +5,9 @@
- --- all tests finished ---*
- --- all tests finished ---*
- --- all tests finished ---
+ child "test-part*" exited with exit value 0*
+ child "test-part*" exited with exit value 0*
+ child "test-part*" exited with exit value 0
Error:
@@ -17,7 +17,7 @@
-
+
@@ -70,22 +70,37 @@
-
+
+
+
+
+
+
-
+
+
+
+
+
+
-
+
+
+
+
+
+
diff --git a/repos/os/run/ahci_block.run b/repos/os/run/ahci_block.run
index 91e6ace745..43d6895f63 100644
--- a/repos/os/run/ahci_block.run
+++ b/repos/os/run/ahci_block.run
@@ -10,7 +10,7 @@ set build_components {
core init timer
drivers/ahci
server/report_rom
- test/block/client
+ app/block_tester
}
source ${genode_dir}/repos/base/run/platform_drv.inc
@@ -73,18 +73,27 @@ append config {
-
+
-
+
+
+
+
+
+
-
+
-
+
+
+
+
+
@@ -97,7 +106,7 @@ install_config $config
#
# Boot modules
#
-set boot_modules { core ld.lib.so init timer ahci_drv report_rom test-block-client }
+set boot_modules { core ld.lib.so init timer ahci_drv report_rom block_tester }
append_platform_drv_boot_modules
diff --git a/repos/os/run/block_tester.run b/repos/os/run/block_tester.run
index 5a9a401491..54b11a0213 100644
--- a/repos/os/run/block_tester.run
+++ b/repos/os/run/block_tester.run
@@ -30,9 +30,9 @@ set build_components {
core init timer
drivers/ahci
server/lx_block
+ server/report_rom
app/block_tester
server/part_block
- test/block/client
}
source ${genode_dir}/repos/base/run/platform_drv.inc
@@ -167,9 +167,13 @@ append config {
append config {
-
+
-
+
+
+
+
+
@@ -251,9 +255,13 @@ append config {
append config {
-
+
-
+
+
+
+
+
@@ -343,8 +351,8 @@ create_disk_image 1
# generic modules
set boot_modules {
- core init timer ahci_drv block_tester
- ld.lib.so test-block-client part_block
+ core init timer ahci_drv block_tester report_rom
+ ld.lib.so part_block
}
append_if $use_linux boot_modules {
diff --git a/repos/os/run/sd_card.run b/repos/os/run/sd_card.run
index ea6aa391fe..0c6fbc70a9 100644
--- a/repos/os/run/sd_card.run
+++ b/repos/os/run/sd_card.run
@@ -1,11 +1,14 @@
-assert_spec pbxa9
+if {![have_board pbxa9]} {
+ puts "Test requires board pbxa9"
+ exit
+}
create_boot_directory
import_from_depot [depot_user]/src/[base_src] \
[depot_user]/src/init \
[depot_user]/src/platform_drv
-build { drivers/sd_card test/block/client }
+build { drivers/sd_card app/block_tester }
install_config {
@@ -55,20 +58,19 @@ install_config {
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
}
-build_boot_image { pl180_sd_card_drv test-block-client }
+build_boot_image { pl180_sd_card_drv block_tester }
set disk_image "bin/sd_card.img"
if { [file exists $disk_image] == 0 } then {
diff --git a/repos/os/run/usb_block.run b/repos/os/run/usb_block.run
index 3121bc95d1..086ac570ea 100644
--- a/repos/os/run/usb_block.run
+++ b/repos/os/run/usb_block.run
@@ -9,8 +9,7 @@ set build_components {
drivers/usb_host
drivers/usb_block
server/report_rom
- test/block/client
- test/block/bench
+ app/block_tester
}
source ${genode_dir}/repos/base/run/platform_drv.inc
@@ -92,21 +91,22 @@ append config {
-
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -123,8 +123,7 @@ install_config $config
# generic modules
set boot_modules {
- core init timer report_rom usb_block_drv
- test-block-client test-block-bench
+ core init timer report_rom usb_block_drv block_tester
ld.lib.so
}
@@ -151,4 +150,4 @@ append qemu_args " -nographic -M pc -boot order=d "
append qemu_args " -drive if=none,id=disk,file=$disk_image,format=raw "
append qemu_args " -device usb-ehci,id=ehci -device usb-storage,bus=ehci.0,drive=disk "
-run_genode_until {.*child "test-usb" exited with exit value 0.*} 100
+run_genode_until {.*child "block_tester" exited with exit value 0.*} 100