profile: Use unique directory for tests that write default profile file
authorJustin Bogner <mail@justinbogner.com>
Wed, 29 Apr 2015 21:56:35 +0000 (21:56 +0000)
committerJustin Bogner <mail@justinbogner.com>
Wed, 29 Apr 2015 21:56:35 +0000 (21:56 +0000)
commit2d2faae647e07129d7e0f1cb18511a12c6b748a6
treeef9b366822c1c128599be0d750a1112d40a6cae6
parentbe9843ce54978338532163f75653308898d6d9b5
profile: Use unique directory for tests that write default profile file

Fix a couple of new tests that were reverted because they were causing
intermittent test failures since they were writing the same default
"default.profraw" file. Fixed by creating a unique directory and
running tests in that directory.

Patch by Teresa Johnson. Thanks!

llvm-svn: 236168
compiler-rt/test/profile/instrprof-override-filename-then-reset-default.c [new file with mode: 0644]
compiler-rt/test/profile/instrprof-set-filename-then-reset-default.c [new file with mode: 0644]