[Profile] Fix gcov tests
authorCalixte Denizet <cdenizet@mozilla.com>
Tue, 25 Sep 2018 11:12:15 +0000 (11:12 +0000)
committerCalixte Denizet <cdenizet@mozilla.com>
Tue, 25 Sep 2018 11:12:15 +0000 (11:12 +0000)
commitcb4cd5ccdcee4c126992fe3e6fc1ddbe241073e9
treec458bdbd302424eefcae082d1e666f4a196ffd77
parent57ddec0dd198c91dbeef8553c0feeb734e925ae4
[Profile] Fix gcov tests

Summary: The gcda need to be delete before running the binary to avoid to have an increasing "# of Runs" when a test is failing

Reviewers: vitalybuka, eugenis, marco-c

Reviewed By: marco-c

Subscribers: delcypher, llvm-commits, #sanitizers, sylvestre.ledru, marco-c

Differential Revision: https://reviews.llvm.org/D52456

llvm-svn: 342963
compiler-rt/test/profile/instrprof-dlopen-dlclose-gcov.test
compiler-rt/test/profile/instrprof-gcov-two-objects.test
compiler-rt/test/profile/instrprof-shared-gcov-flush.test