versioner: add missing test.

Change-Id: I1dc9a708b53dbb46af9e4b8ab69bf8ed46ab045f
This commit is contained in:
Josh Gao 2016-06-03 13:46:06 -07:00
parent 958f3b31c4
commit 4af829acb7
5 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,2 @@
foo: availability mismatch between arm-9 and arm-12: [introduced = 9] before, [introduced = 10] after
versioner: sanity check failed

View File

@ -0,0 +1,5 @@
#if __ANDROID_API__ <= 9
int foo() __attribute__((availability(android, introduced = 9)));
#else
int foo() __attribute__((availability(android, introduced = 10)));
#endif

View File

@ -0,0 +1 @@
versioner headers -p platforms -r arm -a 9 -a 12