Skip to content

Commit

Permalink
Seperate windows and non windows tests. (#6816)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdurham authored Apr 3, 2024
1 parent 633ad9d commit 9646f5c
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build linux

package promtailconvert_test

import (
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
//go:build windows

package promtailconvert_test

import (
"testing"

"github.com/grafana/agent/internal/converter/internal/promtailconvert"
"github.com/grafana/agent/internal/converter/internal/test_common"
_ "github.com/grafana/agent/internal/static/metrics/instance" // Imported to override default values via the init function.
)

func TestConvert(t *testing.T) {
test_common.TestDirectory(t, "testdatawindows", ".yaml", true, []string{}, promtailconvert.Convert)
}

0 comments on commit 9646f5c

Please sign in to comment.