From 2a6cb2a97f199d9d6d7d538c868c89c657dfc1e2 Mon Sep 17 00:00:00 2001 From: Michael Mueller Date: Tue, 9 Dec 2025 19:54:49 +0100 Subject: [PATCH] ealanos: Created scenario for testing nested habitats. --- repos/ealanos/run/nested_habitats.run | 142 ++++++++++++++++++++++++++ 1 file changed, 142 insertions(+) create mode 100644 repos/ealanos/run/nested_habitats.run diff --git a/repos/ealanos/run/nested_habitats.run b/repos/ealanos/run/nested_habitats.run new file mode 100644 index 0000000000..983cd07532 --- /dev/null +++ b/repos/ealanos/run/nested_habitats.run @@ -0,0 +1,142 @@ +set build_components { + core init hoitaja timer lib/ld lib/libm lib/libc lib/stdcxx lib/vfs app/allocating_cell +} + +build $build_components +create_boot_directory + +install_config { + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2022-07-20 14:30 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2022-07-20 14:30 + + + + + + + + +} + +build_boot_image [build_artifacts] + +append qemu_args " -nographic " +set succeeded 0 +set failed 0 + +for {set i 0} { $i < 3000 } { incr i } { + if { ! [catch {run_genode_until ".*Changing cell timer\'s affinity to .*0,0,64.*" 60} result ] } { + incr succeeded + puts "\n $succeeded of 3000 succeeded" + kill_spawned $qemu_spawn_id + } else { + incr failed + kill_spawned $qemu_spawn_id + } +} + +puts "\n $succeeded of $i succeeded. $failed of $i failed." \ No newline at end of file