9416c20b7989e44cd56d4e78f80041d64dfccfa3 |
|
22-Dec-2016 |
Dan Willemsen <dwillemsen@google.com> |
Support non-gtest NATIVE_TESTS We've had this in Soong for a while, but never supported it in Make. Bug: 33819328 Test: Change LOCAL_GTEST on a module, check m -j ... showcommands Change-Id: Id8f4b9908c82c05d9a986a38945b33bac578e991
/build/make/core/host_test_internal.mk
|
e1c6deab102020c3212be38210759cc42b77f9da |
|
22-Jun-2016 |
Dan Willemsen <dwillemsen@google.com> |
Finish refactoring tests to NATIVE_TESTS Now that the source trees all use NATIVE_TESTS for intermediate files and generated sources, make it a requirement. Change-Id: Id5718fabe63f6e8dde7981a6f0f5bd89e0ec7ee5
/build/make/core/host_test_internal.mk
|
7fe992c0ccf61443f90976f6f18a61c242df7731 |
|
02-Mar-2016 |
Dan Willemsen <dwillemsen@google.com> |
Add NATIVE_TESTS class, move host native tests Host native tests have been getting installed into out/host/linux-x86/bin/..., but this pollutes the bin directory with a lot of poorly named tests. Also, to support 32-bit and 64-bit tests, we need to have different names with different suffixes. This causes problems when tests expect to be named something specific (like gtest). It's also convenient to store test data next to the test itself. So with this change, native tests will be installed in out/host/linux-x86/nativetest[64]/$(LOCAL_MODULE)/$(LOCAL_MODULE_STEM) just like target tests get installed into /data/nativetest[64]. Implement this using a new NATIVE_TESTS class, which is like EXECUTABLES, but sets up the install path differently, and configures the rpath to load shared libraries with the proper relative path. LOCAL_MODULE_RELATIVE_PATH can be used to control the directory name, it will default to $(LOCAL_MODULE). This way multiple related tests can be grouped together. Target native tests also use NATIVE_TESTS now, but nothing should change other than LOCAL_MODULE_RELATIVE_PATH can be used. Change-Id: I535e42b1a6b21c5b8d6a580aa2f944d2be35e27d
/build/make/core/host_test_internal.mk
|
66fced615f64f5abf12fc059be2f2e4e1ec78515 |
|
09-Mar-2016 |
Dan Willemsen <dwillemsen@google.com> |
Don't use GTEST_OS_LINUX on Darwin Change-Id: If77118591daa7b474e6989e03109ea32ddd357b2
/build/make/core/host_test_internal.mk
|
e5ecdc967dd99fd5137bbfdc95faf1b52e32b86a |
|
02-Mar-2016 |
Dan Albert <danalbert@google.com> |
Get gtest includes from the exported headers. Change-Id: I47db781a36318664fabff8a5e75031c6bee674e4
/build/make/core/host_test_internal.mk
|
3a0a8918b2980b42b40c47d010cc299edc81f261 |
|
26-Sep-2015 |
Colin Cross <ccross@android.com> |
Link libgtest_main before libgtest libgtest_main uses symbols from libgtest. If libgtest_main is linked after libgtest, and the test .o files don't reference libgtest (which is unlikely), then the libgtest .o files will be ignored and libgtest_main won't be able to find its symbols from libgtest. Change-Id: Ica3bc679bd9d14e9a3065be927f085cf52faab64
/build/make/core/host_test_internal.mk
|
7a5498568f10b48a801da0d358c4536018e793b2 |
|
14-Aug-2015 |
Dan Willemsen <dwillemsen@google.com> |
Add _(darwin|linux|windows) So that we can support building both linux and windows binaries at the same time on a linux host. This replaces the ifeq($(HOST_OS),...) checks in Android.mk files. Bug: 23566667 Change-Id: I693e11984e36d55bb6f09fa0d49bc485463e16fb
/build/make/core/host_test_internal.mk
|
ea93ae61e3f1ac05381cc78ddd95aaddf84c94b9 |
|
09-Nov-2014 |
Dan Albert <danalbert@google.com> |
Remove logic for libstdc++ gtest libs. The libstdc++ linked gtest libraries are no longer necessary. Change-Id: Ia98263bc2541b6c8fd0b3e22bb6fec85104a2210
/build/make/core/host_test_internal.mk
|
93766b28ce8ad81bd5a1dd39d7ddd80b65e2a424 |
|
17-Oct-2014 |
Dan Albert <danalbert@google.com> |
Make libc++ the default STL. Previously, code defaulted to using libstdc++ (which was GNU libstdc++ on the host, or Bionic's "libstdc++" on the target). Now we default to libc++. The exception for this is when using mingw, because we cannot build libc++ for mingw. Change-Id: I68726fa26cdcb6263f17c838d3e859debd57fae1
/build/make/core/host_test_internal.mk
|
66b3e31936b99436e01c473dca492126eea3e336 |
|
21-Oct-2014 |
Adam Lesinski <adamlesinski@google.com> |
am 318217a8: Enable building of gtest for Windows * commit '318217a84a05880f5e10ba2086f87eb0320772c7': Enable building of gtest for Windows
|
318217a84a05880f5e10ba2086f87eb0320772c7 |
|
21-Oct-2014 |
Adam Lesinski <adamlesinski@google.com> |
Enable building of gtest for Windows Windows does not have pthread support, and by defining the GTEST_OS_WINDOWS flag, pthread support will not be built into the windows version of gtest. Change-Id: I0571fc52e77bb04175470d5750a7e2f46cdd5e86
/build/make/core/host_test_internal.mk
|
683c392e07a555aa1d6eece1eb6d5aef04ab1943 |
|
27-Sep-2014 |
Dan Albert <danalbert@google.com> |
Fix detection of C++ STL for tests. Target tests weren't approrpiately using the libc++ gtest for libc++_static, and the hosts tests were still using the old check. Change-Id: I13813d5f09673b144b2dfead93eb81cb4bae0e34
/build/make/core/host_test_internal.mk
|
9b0c6ff69c7f80fd1fd0346c7840a0ca3e640a75 |
|
14-May-2014 |
Dan Albert <danalbert@google.com> |
Use libc++ versions of gtest libs when needed Change-Id: Id8752ea946cbaa747dfa4fccf38d680dfeee5b45
/build/make/core/host_test_internal.mk
|
965bfefb6b5f7a89d10fa5c03d06591e99314c4d |
|
14-May-2014 |
Dan Albert <danalbert@google.com> |
Use libc++ versions of gtest libs when needed Change-Id: I19aa58a83a9da680d441af5f3956a2fbdf18c4e4
/build/make/core/host_test_internal.mk
|
70ca5e5b3942f54703724f573130b422d51059b1 |
|
05-Feb-2014 |
Christopher Ferris <cferris@google.com> |
Add library test makefile solutions. Change-Id: Ibc8df9b0e2342683158936bf011425780df8f02a
/build/make/core/host_test_internal.mk
|