Skip to content

🎧 Your Personal Streaming Service

chore: add elapsed time logging to plugin build process

Deluan510acde3db61
diff --git a/plugins/plugins_suite_test.go b/plugins/plugins_suite_test.go
index 7f2fdf395..3b5e610d6 100644
--- a/plugins/plugins_suite_test.go
+++ b/plugins/plugins_suite_test.go
@@ -13,6 +13,7 @@ import (
"path/filepath"
"runtime"
"testing"
+ "time"
"github.com/navidrome/navidrome/conf"
"github.com/navidrome/navidrome/conf/configtest"
@@ -42,10 +43,11 @@ func TestPlugins(t *testing.T) {
func buildTestPlugins(t *testing.T, path string) {
t.Helper()
+ start := time.Now()
t.Logf("[BeforeSuite] Current working directory: %s", path)
cmd := exec.Command("make", "-C", path)
out, err := cmd.CombinedOutput()
- t.Logf("[BeforeSuite] Make output: %s", string(out))
+ t.Logf("[BeforeSuite] Make output: %s elapsed: %s", string(out), time.Since(start))
if err != nil {
t.Fatalf("Failed to build test plugins: %v", err)
}