Skip to content

Commit 5cbb7a3

Browse files
Jakub Sliacanpraveenkumar
Jakub Sliacan
authored andcommitted
Create output dir beforehand
1 parent eafc3be commit 5cbb7a3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/integration/testsuite_test.go

+4
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ func TestTest(t *testing.T) {
3131

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

3640
RunSpecs(t, "Test Suite", reporterConfig)

0 commit comments

Comments
 (0)