History log of /ndk/tests/build/issue64679-prctl/build.sh
Revision Date Author Comments
5297f237f2d5e40967dcfe19bfd11639b0e7223f 05-Dec-2014 Andrew Hsieh <andrewhsieh@google.com> misc fixes in r10d

1. Remove hack for server where android-13,15,17 were missing
2. Remove --disable-libquadmath
3. Fixed build-gnu-libstdc++.sh thumb build where
"-ffunction-sections -fdata-sections" were dropped
4. Fixed llvm clang3.5/windows build where mingw-64 complains about -fPIC
5. Fixed bashism in make-standalone-toolchain.sh
6. Fixed "package-release.sh --separate-64"
7. Relaxed patch-sources.sh against non-existance patch directory
8. Refresh build/tools/toolchain-patches/gcc/0010-Fix-PR-target-63209.patch
9. Fixed warning about unused vars in cpu-features.c
10. Fixed sources/android/support/Android.mk about -fvisibility-inlines-hidden
is only foo C++
11. Fixed tests/build/check-armeabi-v7a-prebuilts/build.sh on MacOSX 10.6.8
12. Fixed tests/build/issue64679-prctl/build.sh to include GLES2/gl2ext.h
which can be compiled alone now
13. Excluded tests/device/b8708181-Vector4/jni/Vector4.cpp from clang3.4
14. Removed some comments in tests/device/test-libc++-*-full/jni/Android.mk
15. misc run-test.sh fixes
16. Disable integrated-as for clang in tests/build/issue79115-confusing-ld.gold-warning

Change-Id: I0afb2c00642dd61d81fd4842532d1b3c4029655b
11c3b9b16a73d98863f31090627424ee60bda7c6 18-Nov-2014 David 'Digit' Turner <digit@google.com> tests/build/issue64679-prctl: Speed up test.

This makes the tests a lot faster to run due to:

- Using a single ndk-build invokation per API-level/ABI combination
(before that, ndk-build was called once per header).

- Using multiple cores to check multiple headers in parallel.

+ Prevent checking a broken Khronos headers, and the special <uchar.h>
which requires a C++ compiler and --std=c++-0x or higher.

On a 4-core MacBookPro, the test now runs in 1m7s, compared to 13m12s
for the previous version.

IMPORTANT: You will need the following patches applied for the
test to pass:

https://android-review.googlesource.com/114929
https://android-review.googlesource.com/114934

http://b.android.com/79841

Change-Id: I66c5ba9585a03ad3c75eef9be19678706a516e5b
bb257a5f55bb2cbbf41c9faca3f73b74fcd895de 14-Nov-2014 Andrew Hsieh <andrewhsieh@google.com> Revise testcsae issue64679-prctl which validates each header

Revise test which validates each header can be included alone.
What's changed:
1. Exclude time64.h (and sys/user.h for now) from 64-bit ABI
2. Compile in -std=c++11 to get char16_t and char32_t (needed inuchar.h)
defined
3. Rename HEADER -> HEADER_UNDER_TESTING to avoid name collision of
struct name exist in header

Change-Id: I586511a54a667a25e232b1179c4dad9406fdbe8a
24b7fd5c7243260d01f405ea6d453653ea4edb3c 13-Jan-2014 Andrew Hsieh <andrewhsieh@google.com> Add testcase for issue 64679

Loop through {API_LEVEL x ABI} and check each header
( *.h sys/*.h android/*.h EGL/*.h GLES/*.h GLES2/*.h GLES3/*.h
OMXAL/*.h SLES/*.h) can be included aone

See b.android.com/64679

Change-Id: Ia4c66d75ec1792e14899bc504a3166c36af3e437