diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-13 22:26:02 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-13 22:26:02 +0000 |
commit | 67cd74ec17e6061d70d38d48b7c56ce448063f35 (patch) | |
tree | e53196e8fb916bbe2bbb198de8ac3137d965177d | |
parent | f7f74c6b77ac7b3231d63093692b85bb2ebd07ef (diff) |
Simplify test so that it is more portable.
I have checked that the test still fails when the "|| !P.isRegularFile()" from
the original patch is removed.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179464 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Driver/output-file-is-dir.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/test/Driver/output-file-is-dir.c b/test/Driver/output-file-is-dir.c index 605373159e..042ae3d40c 100644 --- a/test/Driver/output-file-is-dir.c +++ b/test/Driver/output-file-is-dir.c @@ -1,8 +1,6 @@ -// XFAIL: hexagon // RUN: rm -rf %t.dir -// RUN: mkdir -p %t.dir/a.out -// RUN: cd %t.dir && not %clang %s -// RUN: test -d %t.dir/a.out -// REQUIRES: shell +// RUN: mkdir -p %t.dir +// RUN: not %clang %s -c -emit-llvm -o %t.dir +// RUN: test -d %t.dir int main() { return 0; } |