Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3019)

Issue 152060043: code review 152060043: reflect: add direct call tests to TestMakeFuncVariadic (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 7 months ago by mwhudson
Modified:
9 years, 6 months ago
Reviewers:
gobot, iant
CC:
golang-codereviews, iant
Visibility:
Public.

Description

reflect: add direct call tests to TestMakeFuncVariadic TestMakeFuncVariadic only called the variadic function via Call and CallSlice, not via a direct function call. I thought these tests would fail under gccgo tip, but they don't. Still seems worth having though.

Patch Set 1 #

Patch Set 2 : diff -r 1ebe0bc977119956e197cc5c2a41c104bea00343 https://code.google.com/p/go/ #

Patch Set 3 : diff -r 1ebe0bc977119956e197cc5c2a41c104bea00343 https://code.google.com/p/go/ #

Patch Set 4 : diff -r 1ebe0bc977119956e197cc5c2a41c104bea00343 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -1 line) Patch
M src/reflect/all_test.go View 1 2 1 chunk +22 lines, -1 line 0 comments Download

Messages

Total messages: 6
mwhudson
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
9 years, 7 months ago (2014-10-03 01:50:34 UTC) #1
gobot
R=iant@golang.org (assigned by r@golang.org)
9 years, 6 months ago (2014-10-08 21:36:44 UTC) #2
iant
LGTM
9 years, 6 months ago (2014-10-08 22:57:44 UTC) #3
iant
*** Submitted as https://code.google.com/p/go/source/detail?r=411fad125b02 *** reflect: add direct call tests to TestMakeFuncVariadic TestMakeFuncVariadic only called ...
9 years, 6 months ago (2014-10-08 22:58:59 UTC) #4
gobot
This CL appears to have broken the android-arm-crawshaw builder. See http://build.golang.org/log/0e525bc49f3a8538d51b8642da365bdf8c1cd63f
9 years, 6 months ago (2014-10-08 23:17:30 UTC) #5
iant
9 years, 6 months ago (2014-10-08 23:42:32 UTC) #6
On Wed, Oct 8, 2014 at 4:17 PM,  <gobot@golang.org> wrote:
> This CL appears to have broken the android-arm-crawshaw builder.
> See http://build.golang.org/log/0e525bc49f3a8538d51b8642da365bdf8c1cd63f
>
> https://codereview.appspot.com/152060043/

Looks unrelated.

go_android_exec: adb push
/tmp/go-build920703746/runtime/pprof/_test/pprof.test
/data/local/tmp/goroot/pprof.test-9166-tmp
210 KB/s (2231436 bytes in 10.364s)
go_android_exec: adb shell cp
'/data/local/tmp/goroot/pprof.test-9166-tmp'
'/data/local/tmp/goroot/pprof.test-9166'
go_android_exec: adb shell rm '/data/local/tmp/goroot/pprof.test-9166-tmp'
go_android_exec: adb shell export TMPDIR="/data/local/tmp"; export
GOROOT="/data/local/tmp/goroot"; cd "$GOROOT/src/runtime/pprof";
'/data/local/tmp/goroot/pprof.test-9166' -test.short=true
-test.timeout=360s; echo -n exitcode=$?
--- FAIL: TestCPUProfileMultithreaded (0.42s)
pprof_test.go:165: runtime/pprof_test.cpuHog1: 18
pprof_test.go:165: runtime/pprof_test.cpuHog2: 0
pprof_test.go:179: runtime/pprof_test.cpuHog2 has 0 samples out of 18,
want at least 1, ideally 9
FAIL
exitcode=1go_android_exec: adb shell rm
'/data/local/tmp/goroot/pprof.test-9166'
FAIL runtime/pprof 21.776s
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b