//line /tmp/go-build1143113591/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"


	_ "htmlunformatted"


)

var tests = []testing.InternalTest{

}

var benchmarks = []testing.InternalBenchmark{

}

var fuzzTargets = []testing.InternalFuzzTarget{

}

var examples = []testing.InternalExample{

}

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



//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 := "count"
	if err := runtime_coverage_processCoverTestDir(gocoverdir, coverprofile, cmode, ""); err != nil {
		return "error generating coverage report", err
	}
	return "", nil
}


func main() {

	testing_registerCover2("count", coverTearDown, runtime_coverage_snapshot)

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

	os.Exit(m.Run())

}

