1
0
mirror of https://github.com/golang/go synced 2024-11-23 06:10:05 -07:00
go/misc/cgo/testcshared
Elias Naur a9e0204c1e misc/cgo/testcshared: fix tests on android
The testcshared test.bash was rewritten in Go, but the rewritten script
broke on Android. Make the tests run on Android again by:

- Restoring the LD_LIBRARY_PATH path (.).
- Restoring the Android specific C flags (-pie -fuse-ld=gold).
- Adding runExe to run test executables. All other commands must run on
the host.

Fixes #21513.

Change-Id: I3ea617a943c686b15437cc5c118e9802a913d93a
Reviewed-on: https://go-review.googlesource.com/57290
Run-TryBot: Elias Naur <elias.naur@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
2017-08-19 12:55:05 +00:00
..
src runtime: use hardware divider to improve performance 2017-04-11 12:25:55 +00:00
cshared_test.go misc/cgo/testcshared: fix tests on android 2017-08-19 12:55:05 +00:00
main0.c runtime: use hardware divider to improve performance 2017-04-11 12:25:55 +00:00
main1.c
main2.c misc/cgo/testcshared: wait up to 1 second in main2.c 2016-12-20 05:06:55 +00:00
main3.c
main4.c misc/cgo: decrease test failure timeouts 2016-11-17 16:31:34 +00:00
main5.c misc/cgo: decrease test failure timeouts 2016-11-17 16:31:34 +00:00