[llvm-commits] [llvm-gcc-4.2] r58273 - /llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/cpp/cpp.exp

Dale Johannesen dalej at apple.com
Mon Oct 27 14:09:35 PDT 2008


Author: johannes
Date: Mon Oct 27 16:09:34 2008
New Revision: 58273

URL: http://llvm.org/viewvc/llvm-project?rev=58273&view=rev
Log:
Hack the relative timestamps of _Pragma3.c and its included file.

Not sure how portable 'touch' is, if it doesn't work for you please
substitute whatever your equivalent functionality is...


Modified:
    llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/cpp/cpp.exp

Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/cpp/cpp.exp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/cpp/cpp.exp?rev=58273&r1=58272&r2=58273&view=diff

==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/cpp/cpp.exp (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/cpp/cpp.exp Mon Oct 27 16:09:34 2008
@@ -28,6 +28,10 @@
 foreach header { A.h bA.h c.h d/d.h } {
     remote_download host $srcdir/$subdir/inc/$header $header
 }
+# LLVM LOCAL the timestamp of this file must be newer than that of 
+# a file it includes, or the test fails.
+exec touch $srcdir/$subdir/_Pragma3.c
+
 # APPLE LOCAL end headermaps
 
 # Load support procs.





More information about the llvm-commits mailing list