DescriptionIPC: Make ipc_perftests run on Android.
There was several minor issues:
- Base perf logging file location was off-limits on Android
- Printf needs to be flushed to be visible on Android.
- Android needs to reset the 'PipeMap' manually since we can't 'exec' after
forking a test process. If we don't do this the Channel thinks we are in a single-
process test and tries to open an FD which was closed during forking.
- Android's base file descriptor needs to be increased to prevent stomping
the android native logging file-descriptor with the default pipe.
- The test took too long, so the 'exponent' is reduced from 5 to 3
- We need an APK
With this patch the test runs like on other platforms, and lots of testing code is
fixed such that it works the same way on all platforms.
BUG=345471
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257877
Patch Set 1 : #
Total comments: 6
Patch Set 2 : Addressed feedback. #Patch Set 3 : Fix linux build. #Patch Set 4 : Rebase. #
Messages
Total messages: 16 (0 generated)
|