From 471071a89f00c07a54f09190f503d2be4850c00a Mon Sep 17 00:00:00 2001 From: Jakub Kicinski Date: Wed, 18 Dec 2024 11:53:23 -0800 Subject: [PATCH] tests: build: rust: output CONFIG_RUST failure to DESC Make sure the problems with getting CONFIG_RUST to be set are displayed in short summary / patchwork. Previously we would get a failure and a bare "Link". Signed-off-by: Jakub Kicinski --- tests/patch/build_clang_rust/build_clang_rust.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/patch/build_clang_rust/build_clang_rust.sh b/tests/patch/build_clang_rust/build_clang_rust.sh index 8d3421a..a69b0d9 100755 --- a/tests/patch/build_clang_rust/build_clang_rust.sh +++ b/tests/patch/build_clang_rust/build_clang_rust.sh @@ -58,7 +58,7 @@ prep_config() { config_rust=$(./scripts/config --file $output_dir/.config --state CONFIG_RUST) if [ $config_rust != "y" ]; then - echo Unable to enable CONFIG_RUST + echo "CONFIG_RUST not set in generated config" >& $DESC_FD exit 1 fi }