aboutsummaryrefslogtreecommitdiffstats
path: root/library/go/test/yatest/arcadia.go
blob: f22c6d2f041c985685cb181f724d4ab5575978f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//go:build arcadia
// +build arcadia

package yatest

import (
	"os"
)

func doInit() {
	initTestContext()
}

func init() {
	if val := os.Getenv("YA_TEST_CONTEXT_FILE"); val != "" {
		if _, err := os.Stat(val); err == nil {
			lazyInit()
		}
	}
}