[llvm] r242158 - Sleep for 2.1 seconds to see if that makes the test stable on windows.

Rafael Espindola rafael.espindola at gmail.com
Tue Jul 14 09:34:24 PDT 2015


Author: rafael
Date: Tue Jul 14 11:34:23 2015
New Revision: 242158

URL: http://llvm.org/viewvc/llvm-project?rev=242158&view=rev
Log:
Sleep for 2.1 seconds to see if that makes the test stable on windows.

Might fix pr24106.

Modified:
    llvm/trunk/test/Object/archive-update.test

Modified: llvm/trunk/test/Object/archive-update.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/archive-update.test?rev=242158&r1=242157&r2=242158&view=diff
==============================================================================
--- llvm/trunk/test/Object/archive-update.test (original)
+++ llvm/trunk/test/Object/archive-update.test Tue Jul 14 11:34:23 2015
@@ -8,8 +8,9 @@ RUN: mkdir -p %t.older
 RUN: echo older > %t.older/evenlen
 
 Either the shell supports the 'touch' command with a flag to manually set the
-mtime or we sleep for over a second so that the mtime is definitely observable.
-RUN: touch -m -t 200001010000 %t.older/evenlen || sleep 1.1
+mtime or we sleep for over two seconds so that the mtime is definitely
+observable.
+RUN: touch -m -t 200001010000 %t.older/evenlen || sleep 2.1
 
 RUN: mkdir -p %t.newer
 RUN: echo newer > %t.newer/evenlen





More information about the llvm-commits mailing list