From e0ae2b2503648edcadebcbe5e43a1b0b197ce32e Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Mon, 7 Sep 2009 19:26:18 +0000 Subject: [PATCH] Use -output-prefix in bugpoint tests so that outputs go in temp directory (and we don't race on them). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81155 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/BugPoint/crash-narrowfunctiontest.ll | 2 +- test/BugPoint/remove_arguments_test.ll | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/BugPoint/crash-narrowfunctiontest.ll b/test/BugPoint/crash-narrowfunctiontest.ll index 3ee9f8aa0eb..6ad09d2e25c 100644 --- a/test/BugPoint/crash-narrowfunctiontest.ll +++ b/test/BugPoint/crash-narrowfunctiontest.ll @@ -1,6 +1,6 @@ ; Test that bugpoint can narrow down the testcase to the important function ; -; RUN: bugpoint %s -bugpoint-crashcalls -silence-passes > /dev/null +; RUN: bugpoint %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null define i32 @foo() { ret i32 1 } diff --git a/test/BugPoint/remove_arguments_test.ll b/test/BugPoint/remove_arguments_test.ll index e5655974f7e..fb17c78a140 100644 --- a/test/BugPoint/remove_arguments_test.ll +++ b/test/BugPoint/remove_arguments_test.ll @@ -1,4 +1,4 @@ -; RUN: bugpoint %s -bugpoint-crashcalls -silence-passes +; RUN: bugpoint %s -output-prefix %t -bugpoint-crashcalls -silence-passes ; Test to make sure that arguments are removed from the function if they are ; unnecessary.