[llvm] 0d9cc69 - [Support] Update missed tests with lazy caching behavior.

Daniel Thornburgh via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 21 12:52:36 PST 2022


Author: Daniel Thornburgh
Date: 2022-01-21T20:52:27Z
New Revision: 0d9cc6995401e629f63b1e43e2e6e8bf73c4edd7

URL: https://github.com/llvm/llvm-project/commit/0d9cc6995401e629f63b1e43e2e6e8bf73c4edd7
DIFF: https://github.com/llvm/llvm-project/commit/0d9cc6995401e629f63b1e43e2e6e8bf73c4edd7.diff

LOG: [Support] Update missed tests with lazy caching behavior.

Fixes test failures created by https://reviews.llvm.org/D117589.

Reviewed By: zhuhan0

Differential Revision: https://reviews.llvm.org/D117915

Added: 
    

Modified: 
    llvm/test/tools/gold/X86/cache.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/gold/X86/cache.ll b/llvm/test/tools/gold/X86/cache.ll
index 5ab5563025587..fd3e7ba876830 100644
--- a/llvm/test/tools/gold/X86/cache.ll
+++ b/llvm/test/tools/gold/X86/cache.ll
@@ -8,8 +8,8 @@
 ; RUN:     --plugin-opt=cache-dir=%t.cache \
 ; RUN:     -o %t3.o %t2.o %t.o
 
-; We should just get the timestamp file
-; RUN: ls %t.cache | count 1
+; Since nothing was added to the cache, there shouldn't be a timestamp file yet.
+; RUN: not ls %t.cache
 
 
 ; Verify that enabling caching is working with module with hash.


        


More information about the llvm-commits mailing list