From: Reid Kleckner Date: Wed, 11 Oct 2017 21:27:54 +0000 (+0000) Subject: Really fix llvm-rc include-paths.test X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ac6915cc753064e4665fd2c05bb4b52773ae101;p=llvm Really fix llvm-rc include-paths.test git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315515 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/tools/llvm-rc/include-paths.test b/test/tools/llvm-rc/include-paths.test index e20ff7e2c99..7313ffac295 100644 --- a/test/tools/llvm-rc/include-paths.test +++ b/test/tools/llvm-rc/include-paths.test @@ -4,12 +4,12 @@ ; RUN: llvm-readobj %t.include.res | FileCheck --check-prefix=FOUND %s ; Should find the bitmap if the folder is explicitly specified. -; RUN: rm %t.nested-include.res +; RUN: rm -f %t.nested-include.res ; RUN: llvm-rc /FO %t.nested-include.res /I %p/Inputs/nested %p/Inputs/deep-include.rc ; RUN: llvm-readobj %t.nested-include.res | FileCheck --check-prefix=FOUND %s ; Otherwise, it should not find the bitmap. -; RUN: rm %t.nested-include.res +; RUN: rm -f %t.nested-include.res ; RUN: not llvm-rc /FO %t.nested-include.res %p/Inputs/deep-include.rc 2>&1 \ ; RUN: | FileCheck --check-prefix=MISSING %s @@ -17,7 +17,7 @@ ; contains the resource being searched for. Do this test last since it ; changes the current working directory and could affect the success or ; failure of other tests if run first. -; RUN: rm %t.nested-include.res +; RUN: rm -f %t.nested-include.res ; RUN: cd %p/Inputs/nested ; RUN: llvm-rc /FO %t.nested-include.res %p/Inputs/include.rc ; RUN: llvm-readobj %t.nested-include.res | FileCheck --check-prefix=FOUND %s