OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:errchk
(Results
1 - 14
of
14
) sorted by null
/prebuilts/go/darwin-x86/test/fixedbugs/
bug248.go
18
// TODO: If we get rid of
errchk
, re-enable this test on Windows.
19
errchk
, err := filepath.Abs("
errchk
")
28
run(
errchk
, "go", "tool", "compile", "-e", "bug3.go")
bug345.go
18
// TODO: If we get rid of
errchk
, re-enable this test on Plan 9 and Windows.
19
errchk
, err := filepath.Abs("
errchk
")
26
run(
errchk
, "go", "tool", "compile", "-e", "main.go")
bug223.go
9
// error message is not standard format, so no
errchk
above.
/prebuilts/go/linux-x86/test/fixedbugs/
bug248.go
18
// TODO: If we get rid of
errchk
, re-enable this test on Windows.
19
errchk
, err := filepath.Abs("
errchk
")
28
run(
errchk
, "go", "tool", "compile", "-e", "bug3.go")
bug345.go
18
// TODO: If we get rid of
errchk
, re-enable this test on Plan 9 and Windows.
19
errchk
, err := filepath.Abs("
errchk
")
26
run(
errchk
, "go", "tool", "compile", "-e", "main.go")
bug223.go
9
// error message is not standard format, so no
errchk
above.
/prebuilts/go/darwin-x86/test/safe/
nousesafe.go
1
// $G $D/pkg.go && pack grc pkg.a pkg.$A 2> /dev/null && rm pkg.$A &&
errchk
$G -I . -u $D/main.go
/prebuilts/go/linux-x86/test/safe/
nousesafe.go
1
// $G $D/pkg.go && pack grc pkg.a pkg.$A 2> /dev/null && rm pkg.$A &&
errchk
$G -I . -u $D/main.go
/prebuilts/go/darwin-x86/src/cmd/vet/
vet_test.go
69
errchk
:= filepath.Join(runtime.GOROOT(), "test", "
errchk
")
76
cmd := exec.Command(
errchk
, append(flags, files...)...)
84
// $(GOROOT)/test/
errchk
./testvet -shadow -printfuncs='Warn:1,Warnf:1' testdata/*.go testdata/*.s
97
//
errchk
./testvet
134
//
errchk
./testvet
166
//
Errchk
delights by not returning non-zero status if it finds errors, so we look at the output.
/prebuilts/go/linux-x86/src/cmd/vet/
vet_test.go
69
errchk
:= filepath.Join(runtime.GOROOT(), "test", "
errchk
")
76
cmd := exec.Command(
errchk
, append(flags, files...)...)
84
// $(GOROOT)/test/
errchk
./testvet -shadow -printfuncs='Warn:1,Warnf:1' testdata/*.go testdata/*.s
97
//
errchk
./testvet
134
//
errchk
./testvet
166
//
Errchk
delights by not returning non-zero status if it finds errors, so we look at the output.
/prebuilts/go/darwin-x86/test/
errchk
7
# Usage:
errchk
COMPILER [OPTS] SOURCEFILES. This will run the command
28
print STDERR "Usage:
errchk
COMPILER [OPTS] SOURCEFILES\n";
52
open(SRC, $file) || die "BUG:
errchk
: open $file: $!";
59
open(CMD, "exec $cmd </dev/null 2>&1 |") || die "BUG:
errchk
: run $cmd: $!";
69
print STDERR "BUG:
errchk
: command succeeded unexpectedly\n";
75
print STDERR "BUG:
errchk
: command failed unexpectedly\n";
81
print STDERR "BUG:
errchk
: compiler crashed\n";
111
print STDERR "
errchk
: $file:$line: missing expected error: '$all'\n";
131
print STDERR "
errchk
: $file:$line: error messages do not match '$regexp'\n";
138
print STDERR "
errchk
: $file:$line: unmatched error messages:\n"
[
all
...]
run.go
1095
log.Fatalf("%s:%d: invalid
errchk
line: %s", t.goFileName(), lineNum, line)
/prebuilts/go/linux-x86/test/
errchk
7
# Usage:
errchk
COMPILER [OPTS] SOURCEFILES. This will run the command
28
print STDERR "Usage:
errchk
COMPILER [OPTS] SOURCEFILES\n";
52
open(SRC, $file) || die "BUG:
errchk
: open $file: $!";
59
open(CMD, "exec $cmd </dev/null 2>&1 |") || die "BUG:
errchk
: run $cmd: $!";
69
print STDERR "BUG:
errchk
: command succeeded unexpectedly\n";
75
print STDERR "BUG:
errchk
: command failed unexpectedly\n";
81
print STDERR "BUG:
errchk
: compiler crashed\n";
111
print STDERR "
errchk
: $file:$line: missing expected error: '$all'\n";
131
print STDERR "
errchk
: $file:$line: error messages do not match '$regexp'\n";
138
print STDERR "
errchk
: $file:$line: unmatched error messages:\n"
[
all
...]
run.go
1095
log.Fatalf("%s:%d: invalid
errchk
line: %s", t.goFileName(), lineNum, line)
Completed in 2256 milliseconds