runner kills possibly left-over generic-experiment-server process before

starting
This commit is contained in:
2026-05-27 16:55:46 +02:00
parent 25e10511e1
commit d1c618443c
3 changed files with 16 additions and 4 deletions

View File

@ -37,7 +37,7 @@ die "No experiment selected" unless @selected_experiments;
# Select targets
my @selected_targets =
TUI::select_from_list( "Select Targets Platforms", 1, @targets );
TUI::select_from_list( "Select Target Platforms", 1, @targets );
die "No target selected" unless @selected_targets;
# Select modes
@ -45,6 +45,14 @@ my @selected_modes =
TUI::select_from_list( "Select Execution Modes", 1, @modes );
die "No mode selected" unless @selected_modes;
# Select 0.info contents
my $info = join " ", TUI::select_from_list( "Select '0.info' Contents for ", 1, (
"--catch-outer",
"--catch-text",
".wamr_mmap",
".wamr_aot",
));
# Build everything
# TODO: linux-baremetal target is broken
system( "mkdir", "-p", "$local_builds_dir" );
@ -52,6 +60,9 @@ foreach my $experiment (@selected_experiments) {
foreach my $target (@selected_targets) {
foreach my $mode (@selected_modes) {
just( "build", $experiment, $target, $mode );
system( "echo '$mode $info' > $local_root/build-$experiment/0.info" );
system(
join " ",
(