diff options
author | Christopher Ferris <cferris@google.com> | 2013-12-20 18:43:21 -0800 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2014-02-06 20:12:21 -0800 |
commit | f04935c85e0b466f0d30d2cd4c0fa2fff62e7d6d (patch) | |
tree | 8f1c6af75517892648f49adad9d4d5d44c20f49c /tests/inttypes_test.cpp | |
parent | e163a3986aa7d1c67fe3274eb9204812be0a6245 (diff) | |
download | android_bionic-f04935c85e0b466f0d30d2cd4c0fa2fff62e7d6d.tar.gz android_bionic-f04935c85e0b466f0d30d2cd4c0fa2fff62e7d6d.tar.bz2 android_bionic-f04935c85e0b466f0d30d2cd4c0fa2fff62e7d6d.zip |
Make sure that the same tests are on all platforms.
In order to be able to generate a list of tests for cts, the same set of
tests must exist across all platforms. This CL adds empty tests where a
test was conditionally compiled out.
This CL creates a single library libBionicTests that includes all of
the tests found in bionic-unit-tests-static.
Also fix a few missing include files in some test files.
Tested by running and compiling the tests for every platform and
verifying the same number of tests are on each platform.
Change-Id: I9989d4bfebb0f9c409a0ce7e87169299eac605a2
Diffstat (limited to 'tests/inttypes_test.cpp')
-rw-r--r-- | tests/inttypes_test.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/inttypes_test.cpp b/tests/inttypes_test.cpp index df02d1fc1..ac37e6295 100644 --- a/tests/inttypes_test.cpp +++ b/tests/inttypes_test.cpp @@ -19,7 +19,6 @@ #include <stdio.h> #include <inttypes.h> -#if defined(__BIONIC__) // Doesn't work on glibc because we use -m32. TEST(inttypes, misc) { char buf[512]; @@ -39,4 +38,3 @@ TEST(inttypes, misc) { sscanf(buf, "%08" SCNuPTR, &u); sscanf(buf, "%08" SCNxPTR, &u); } -#endif |