diff --git a/cmd/core/bg-suite/cmd.go b/cmd/core/bg-suite/cmd.go index 9a943c4a..fb25d37c 100644 --- a/cmd/core/bg-suite/cmd.go +++ b/cmd/core/bg-suite/cmd.go @@ -34,7 +34,6 @@ type execTestsCmd struct { Strict bool `required:"" default:"false" short:"s" help:"Enable strict mode. This enables more tests and checks."` Interactive bool `optional:"" short:"i" help:"Interactive mode. Errors will stop the testing."` Config string `optional:"" short:"c" help:"Path/Filename to config file."` - Log string `optional:"" help:"Give a path/filename for test result output inJSON format. e.g.: /path/to/filename.json"` Firmware string `optional:"" short:"f" help:"Path/Filename to firmware to test with."` } diff --git a/cmd/core/bg-suite/main.go b/cmd/core/bg-suite/main.go index 99bd2742..482be1fd 100644 --- a/cmd/core/bg-suite/main.go +++ b/cmd/core/bg-suite/main.go @@ -1,10 +1,13 @@ package main import ( + "os" + "github.com/9elements/converged-security-suite/v2/pkg/log" "github.com/alecthomas/kong" "github.com/linuxboot/fiano/pkg/intel/metadata/cbnt" fianoLog "github.com/linuxboot/fiano/pkg/log" + "github.com/sirupsen/logrus" ) const ( @@ -36,6 +39,9 @@ func main() { Compact: true, Summary: true, })) + + logrus.SetOutput(os.Stdout) + cbnt.StrictOrderCheck = cli.ManifestStrictOrderCheck fianoLog.DefaultLogger = log.FianoLogger{} err := ctx.Run(&context{})