Commit Graph

12 Commits

Author SHA1 Message Date
Dan Albert
d6a9199c13 Fix libcxx.android.compiler for interface changes.
Test: ./run_tests.py
Bug: http://b/34740564
Change-Id: I68846f5a5a951d5bd368907c662b2c980e1c89a9
2017-01-27 16:40:54 -08:00
Dan Willemsen
ef7ff121dc test runner: Replace all_modules with MODULES-IN-*
all_modules would trigger all Soong modules to be built and installed.

Bug: 30191725
Test: Ran external/libcxx/run-tests.py, appears to build properly
Change-Id: I11ff39c5681c4b07b8b6456b7302531e4e746e15
2016-08-12 01:25:35 +00:00
Dan Albert
e236990ecf Fix test runner to properly emulate mm/mmm.
Really weird errors get thrown with absolute paths for
`ONE_SHOT_MAKEFILE` now.

Change-Id: I10a86dfd2dab43f03bcd3ce9a8c2551decd65bc4
2016-06-16 17:24:49 -07:00
Dan Albert
4b1aaf93e2 Update for new libc++ revision.
Add src/any.cpp for std::experimental::any.
Update test executor for extra return value.
Make the adb code more tolerant of surprise failures.

Mark local.time.put.members.put2 as XFAIL for Android. I think this
might just be needed because it is no longer marked XFAIL for linux.
Should definitely dig in to what is broken here though.

Change-Id: I044e1a8bd3830dadb80fcb964abba39d3ee40702
2015-10-20 10:24:21 -07:00
Dan Albert
660563f20a Fix test runner following adb line ending fix.
Looks like I was relying on this too.

Change-Id: If1feac8b2293082b601fa3976cc088ace22b5209
2015-06-15 17:06:53 -07:00
Dan Albert
447998cbb0 Fix LD_LIBRARY_PATH for host tests after update.
_run never gets called any more, so the LD_LIBRARY_PATH wasn't being
set any more. The tests were still passing locally for me because the
tests were happily using the libc++.so from my system rather than the
one we build.

Wasn't obvious from the buildbot because the display for the test
results is absolutely terrible and they got lost in the noise of the
known failures.

Change-Id: Ib2df196ec6748718930e70887b7d0099884d792c
2015-04-14 10:50:38 -07:00
Dan Albert
f8c938a5cf Fix output directory for host tests.
The host tests were being compiled into the target's out directory.
This wasn't causing any problems, but seeing it made me thing there
was something more sinister going on.

Change-Id: Ic2b9317512340e718f5c2648ecb23409dad7dcf9
2015-04-14 10:49:41 -07:00
Dan Albert
5d8e4e3581 Update Android's test configuration for new APIs.
The upstream test runner has changed enough that the way Android was
shimmed into it was no longer compatible. This adapts our test runner
to the new APIs for cross-compiling and remote execution.

There's probably a fair amount of dead code in the Android test
runners now (or at least some code that should be made dead). I'll
clean it up in a later patch, but want to get us up and running for
now.

The NDK test runner will need to be updated as well. There aren't any
continuous runs for that, so that will be fixed in a follow up as
well.

Change-Id: I1756f538aa6c7136ebd26d1e81c8299b87f0c6b2
2015-03-12 11:00:36 -07:00
Dan Albert
aec496f48e Add NDK tests.
Bug: 19149083
Change-Id: I2222ee6230ed11e09ee00553e21855290b662da0
2015-02-17 17:03:28 -08:00
Dan Albert
69f7843275 Fix up Android test config to match upstream.
Change-Id: I053dde99259feadc0c0ec4e3e42a575b1ddab454
2015-01-15 14:33:42 -08:00
Dan Albert
2b3c63f704 Ignore failures from failed cleanup.
This `try` used to be in the function above, but an upstream change
made it our responsibility.

Change-Id: I34f1dca7244f67242b7a8f2979bf7560bc12b706
2015-01-14 18:08:38 -08:00
Dan Albert
8234f20ae7 Update the test configs to match the new layout.
Everything can be broken out into modules now, so there's not need to
keep the whole world in one file. This also brings us to the point
where we no longer require changes to any files in test/ compared to
upstream, only new files.

Change-Id: I3da27e12e6e2890355013c51567415436c4b517b
2015-01-09 11:35:20 -08:00