OSDN Git Service

simpleperf: fix simpleperf_unit_test on windows.
authorYabin Cui <yabinc@google.com>
Mon, 29 Oct 2018 21:23:48 +0000 (14:23 -0700)
committerYabin Cui <yabinc@google.com>
Tue, 30 Oct 2018 22:48:22 +0000 (15:48 -0700)
commit1b9b1c1c112f79b47b050d1975fbb08b566356f7
tree7e3571bae1b288a5a87cb1fc665e9cd7e6fde118
parentb27fec0d91b6a33776e831f2c898ab5a71e07340
simpleperf: fix simpleperf_unit_test on windows.

Fix test failures caused by path separator and newline character.

Bug: 117568547
Test: run simpleperf_unit_test on windows.
Change-Id: I0522268368a2288893ecd52f505382c512d1d7c9
simpleperf/cmd_report_sample.cpp
simpleperf/dso.cpp
simpleperf/dso.h
simpleperf/dso_test.cpp
simpleperf/gtest_main.cpp
simpleperf/utils.cpp
simpleperf/utils.h