//line /tmp/cmd-go-test-450200580/go-build3800690370/b001/_testmain.go:1:1

// Code generated by 'go test'. DO NOT EDIT.

package main; import _ "runtime/coverage"

import (
	"os"

	_ "unsafe"


	"testing"
	"testing/internal/testdeps"


	_test "log"


	_xtest "log_test"

)

var tests = []testing.InternalTest{

	{"TestDefault", _test.TestDefault},

	{"TestAll", _test.TestAll},

	{"TestOutput", _test.TestOutput},

	{"TestNonNewLogger", _test.TestNonNewLogger},

	{"TestOutputRace", _test.TestOutputRace},

	{"TestFlagAndPrefixSetting", _test.TestFlagAndPrefixSetting},

	{"TestUTCFlag", _test.TestUTCFlag},

	{"TestEmptyPrintCreatesLine", _test.TestEmptyPrintCreatesLine},

	{"TestDiscard", _test.TestDiscard},

}

var benchmarks = []testing.InternalBenchmark{

	{"BenchmarkItoa", _test.BenchmarkItoa},

	{"BenchmarkPrintln", _test.BenchmarkPrintln},

	{"BenchmarkPrintlnNoFlags", _test.BenchmarkPrintlnNoFlags},

	{"BenchmarkConcurrent", _test.BenchmarkConcurrent},

	{"BenchmarkDiscard", _test.BenchmarkDiscard},

}

var fuzzTargets = []testing.InternalFuzzTarget{

}

var examples = []testing.InternalExample{

	{"ExampleLogger", _xtest.ExampleLogger, "logger: example_test.go:19: Hello, log file!\n", false},

	{"ExampleLogger_Output", _xtest.ExampleLogger_Output, "INFO: example_test.go:36: Hello world\n", false},

}

func init() {
	testdeps.ImportPath = "log"
}



//go:linkname runtime_coverage_processCoverTestDir runtime/coverage.processCoverTestDir
func runtime_coverage_processCoverTestDir(dir string, cfile string, cmode string, cpkgs string) error

//go:linkname testing_registerCover2 testing.registerCover2
func testing_registerCover2(mode string, tearDown func(coverprofile string, gocoverdir string) (string, error), snapcov func() float64)

//go:linkname runtime_coverage_markProfileEmitted runtime/coverage.markProfileEmitted
func runtime_coverage_markProfileEmitted(val bool)

//go:linkname runtime_coverage_snapshot runtime/coverage.snapshot
func runtime_coverage_snapshot() float64

func coverTearDown(coverprofile string, gocoverdir string) (string, error) {
	var err error
	if gocoverdir == "" {
		gocoverdir, err = os.MkdirTemp("", "gocoverdir")
		if err != nil {
			return "error setting GOCOVERDIR: bad os.MkdirTemp return", err
		}
		defer os.RemoveAll(gocoverdir)
	}
	runtime_coverage_markProfileEmitted(true)
	cmode := "set"
	if err := runtime_coverage_processCoverTestDir(gocoverdir, coverprofile, cmode, ""); err != nil {
		return "error generating coverage report", err
	}
	return "", nil
}


func main() {

	testing_registerCover2("set", coverTearDown, runtime_coverage_snapshot)

	m := testing.MainStart(testdeps.TestDeps{}, tests, benchmarks, fuzzTargets, examples)

	os.Exit(m.Run())

}

