Fix
This commit is contained in:
parent
3c626cafd5
commit
e227b7e140
1 changed files with 2 additions and 2 deletions
|
@ -178,7 +178,7 @@ type TestFailedError struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (e *TestFailedError) Error() string {
|
func (e *TestFailedError) Error() string {
|
||||||
return fmt.Sprintf("test failed: %v", e)
|
return fmt.Sprintf("test failed: %v", e.E)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (e *TestFailedError) Unwrap() error {
|
func (e *TestFailedError) Unwrap() error {
|
||||||
|
@ -209,7 +209,7 @@ func runTests(testDir, problem string) error {
|
||||||
binaries := map[string]string{}
|
binaries := map[string]string{}
|
||||||
testBinaries := map[string]string{}
|
testBinaries := map[string]string{}
|
||||||
|
|
||||||
binPkgs, testPkgs := listTestsAndBinaries(testDir, []string{"-tags", "private", "-mod", "readonly"})
|
binPkgs, testPkgs := listTestsAndBinaries(filepath.Join(testDir, problem), []string{"-tags", "private", "-mod", "readonly"})
|
||||||
for binaryPkg := range binPkgs {
|
for binaryPkg := range binPkgs {
|
||||||
binPath := filepath.Join(binCache, randomName())
|
binPath := filepath.Join(binCache, randomName())
|
||||||
binaries[binaryPkg] = binPath
|
binaries[binaryPkg] = binPath
|
||||||
|
|
Loading…
Reference in a new issue