From d5d3b3c3a4af5aba00c32e905e198e4143cf37c2 Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Tue, 9 Mar 2021 10:49:31 +0100 Subject: [PATCH] test.run: support binaries other than init This change enables the use of runtime pkgs that specify the test binary directly as attribute in the node. --- repos/os/run/test.run | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/repos/os/run/test.run b/repos/os/run/test.run index 583b93cbff..9cdfa2f40f 100644 --- a/repos/os/run/test.run +++ b/repos/os/run/test.run @@ -170,8 +170,9 @@ proc try_query_attr_from_runtime { attr } { return $result } -set ram [try_query_attr_from_runtime ram] -set caps [try_query_attr_from_runtime caps] +set ram [try_query_attr_from_runtime ram] +set caps [try_query_attr_from_runtime caps] +set binary [try_query_attr_from_runtime binary] if {[catch { set config [query_node /runtime/config $runtime_file] @@ -289,7 +290,7 @@ install_config { - +