[libprocinfo] Harden test to work even under ARM emulator

When running under an ARM emulator like qemu, the name of the binary
executing the test might not be "libprocinfo_test", but rather
something like "qemu-aarch64-...".

This hardens the test to not assume the name of the binary and instead
read it from /proc/self/exe.

Change-Id: Ia4564da87c4a8ebb5e512f995cf283327579eed4
Bug: b/307594847
1 file changed
tree: 0b64438e7fd7529e4cf50025e413eb92b14624a0
  1. include/
  2. testdata/
  3. Android.bp
  4. OWNERS
  5. process.cpp
  6. process_map_benchmark.cpp
  7. process_map_test.cpp
  8. process_test.cpp
  9. TEST_MAPPING