Commit Graph

2 Commits

Author SHA1 Message Date
Dan Albert
90ed14b6a2 Fix host tests.
The regex being overspecified meant that host tests were not properly
replacing the dummy.o when linking, meaning all of the tests that were
running were running nothing but `int main() {}`.

The good news is that there weren't any failing tests hiding behind
this on Linux.

Change-Id: I9bea82ff1fefdf156d68a58689e532807c8d999b
2015-05-12 10:26:58 -07:00
Dan Albert
2175caa94c Automatically generate build/link commands.
Use LOCAL_CXX with a dummy compiler to determine the build/link flags
the build system will use to build a typical Android executable. This
both prevents test failures when the build system simply goes out of
sync with the old, hard coded flags, and helps us catch new failures
introduced by build system changes ASAP.

Change-Id: I9a867ab49b7f2158070cf944c7a96084089a3718
2014-10-30 17:40:34 -07:00