Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1204)

Unified Diff: test/Transforms/NaCl/expand-ctors.ll

Issue 15042009: Update tests to use FileCheck instead of grep (which is deprecated in the LLVM regression suite) (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/Transforms/NaCl/expand-ctors-empty.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/Transforms/NaCl/expand-ctors.ll
diff --git a/test/Transforms/NaCl/expand-ctors.ll b/test/Transforms/NaCl/expand-ctors.ll
index 7f202618e7dc0e2928927325f36bcb5f809fcc32..250abbc1bf90d90e0bf5b01f966374b7bfe8895f 100644
--- a/test/Transforms/NaCl/expand-ctors.ll
+++ b/test/Transforms/NaCl/expand-ctors.ll
@@ -1,7 +1,8 @@
; We expect these symbol names to be removed:
-; RUN: opt < %s -nacl-expand-ctors -S | not grep llvm.global_ctors
-; RUN: opt < %s -nacl-expand-ctors -S | not grep __init_array_end
-; RUN: opt < %s -nacl-expand-ctors -S | not grep __fini_array_end
+; RUN: opt < %s -nacl-expand-ctors -S | FileCheck %s -check-prefix=NO_CTORS
+; NO_CTORS-NOT: llvm.global.ctors
+; NO_CTORS-NOT: __init_array_end
+; NO_CTORS-NOT: __fini_array_end
; RUN: opt < %s -nacl-expand-ctors -S | FileCheck %s
« no previous file with comments | « no previous file | test/Transforms/NaCl/expand-ctors-empty.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698