From 96c2e7a9ed2d0a1efda4ca54e294b6c5db7535c8 Mon Sep 17 00:00:00 2001 From: Anton Novojilov Date: Mon, 9 Oct 2023 16:40:39 +0300 Subject: [PATCH 1/2] Print extra info for verbose test using bibop-massive --- scripts/bibop-massive | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/bibop-massive b/scripts/bibop-massive index d6cc5e37..49c2e639 100755 --- a/scripts/bibop-massive +++ b/scripts/bibop-massive @@ -3,7 +3,7 @@ ################################################################################ APP="bibop-massive" -VER="1.10.0" +VER="1.10.1" DESC="Utility for mass package testing" ################################################################################ @@ -671,7 +671,7 @@ execRecipeVerbose() { wrk_dir=$(dirname "$recipe") # shellcheck disable=SC2086 - bibop -d "$wrk_dir" $opts "$recipe" + bibop -X -d "$wrk_dir" $opts "$recipe" return $? } From a5dda8aecdb5d5e4e88de1a2aa384265875dc07f Mon Sep 17 00:00:00 2001 From: Anton Novojilov Date: Mon, 9 Oct 2023 17:07:15 +0300 Subject: [PATCH 2/2] Fix bug with reading output for actions with no output data --- cli/cli.go | 2 +- cli/executor/executor.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/cli.go b/cli/cli.go index a60a72f3..b0bddb6f 100644 --- a/cli/cli.go +++ b/cli/cli.go @@ -40,7 +40,7 @@ import ( // Application info const ( APP = "bibop" - VER = "7.4.0" + VER = "7.4.1" DESC = "Utility for testing command-line tools" ) diff --git a/cli/executor/executor.go b/cli/executor/executor.go index 69d341a7..26fb500e 100644 --- a/cli/executor/executor.go +++ b/cli/executor/executor.go @@ -290,7 +290,7 @@ func runCommand(e *Executor, rr render.Renderer, c *recipe.Command) bool { } if err != nil { - if !e.config.Quiet && e.config.Debug && !cmdEnv.output.IsEmpty() { + if !e.config.Quiet && e.config.Debug && cmdEnv.output != nil && !cmdEnv.output.IsEmpty() { fmtc.NewLine() panel.Panel( "☴ OUTPUT", "{y}", "The last 10 lines from command output",