Skip to content

Commit

Permalink
Create output dir beforehand
Browse files Browse the repository at this point in the history
  • Loading branch information
jsliacan authored and praveenkumar committed Aug 8, 2022
1 parent eafc3be commit 5cbb7a3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/integration/testsuite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ func TestTest(t *testing.T) {

// fetch the current (reporter) config
_, reporterConfig := GinkgoConfiguration()
err := os.MkdirAll("out", 0775)
if err != nil {
logrus.Infof("failed to create directory: %v", err)
}
reporterConfig.JUnitReport = filepath.Join("out", "integration.xml")

RunSpecs(t, "Test Suite", reporterConfig)
Expand Down

0 comments on commit 5cbb7a3

Please sign in to comment.