]> Cypherpunks repositories - gostls13.git/commit
runtime: check the correct environment variable in TestCgoCallbackGC
authorCherry Mui <cherryyz@google.com>
Tue, 21 Dec 2021 00:08:14 +0000 (19:08 -0500)
committerCherry Mui <cherryyz@google.com>
Tue, 21 Dec 2021 01:10:17 +0000 (01:10 +0000)
commite0879490904495d26f762e19a997d4384bffa932
tree4393b0fb384c1850f864b23a63d3757b30d74250
parent15550625c3140efce8ea1d7d3193ec4c563eb117
runtime: check the correct environment variable in TestCgoCallbackGC

The test checks RUNTIME_TESTING_SHORT, whereas the test runner
actually set RUNTIME_TEST_SHORT. Check the correct one.

Updates #32023.

Change-Id: Ie8ab00e1f5b8c02112a9aa1ee0e56028185c8a44
Reviewed-on: https://go-review.googlesource.com/c/go/+/373614
Trust: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/testdata/testprogcgo/callback.go