r179464 - Simplify test so that it is more portable.

Rafael Espindola rafael.espindola at gmail.com
Sat Apr 13 15:26:02 PDT 2013


Author: rafael
Date: Sat Apr 13 17:26:02 2013
New Revision: 179464

URL: http://llvm.org/viewvc/llvm-project?rev=179464&view=rev
Log:
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.

Modified:
    cfe/trunk/test/Driver/output-file-is-dir.c

Modified: cfe/trunk/test/Driver/output-file-is-dir.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/output-file-is-dir.c?rev=179464&r1=179463&r2=179464&view=diff
==============================================================================
--- cfe/trunk/test/Driver/output-file-is-dir.c (original)
+++ cfe/trunk/test/Driver/output-file-is-dir.c Sat Apr 13 17:26:02 2013
@@ -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; }





More information about the cfe-commits mailing list