File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ import (
3434 "github.com/deckhouse/dmt/internal/bootstrap"
3535 "github.com/deckhouse/dmt/internal/flags"
3636 "github.com/deckhouse/dmt/internal/fsutils"
37- "github.com/deckhouse/dmt/internal/logger"
3837 "github.com/deckhouse/dmt/internal/test"
3938 "github.com/deckhouse/dmt/internal/test/conversions"
4039 "github.com/deckhouse/dmt/internal/version"
@@ -231,7 +230,7 @@ func testCmdFunc(_ *cobra.Command, args []string) error {
231230}
232231
233232func runTests (dir string ) error {
234- logger . InfoF ("Running tests for: %s" , dir )
233+ log . Info ("Running tests" , slog . String ( "directory" , dir ) )
235234
236235 // Create test runner and register testers
237236 runner := test .NewRunner ()
@@ -251,7 +250,8 @@ func runTests(dir string) error {
251250 // Run tests
252251 summary , err := runner .Run (opts )
253252 if err != nil {
254- logger .ErrorF ("Test execution failed: %v" , err )
253+ log .Error ("Test execution failed" , log .Err (err ))
254+
255255 return err
256256 }
257257
You can’t perform that action at this time.
0 commit comments