[llvm] 0eea9ba - Make the llvm-ranlib/help-message.test test pass in unusual configurations
Dmitri Gribenko via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 2 06:24:27 PST 2020
Author: Dmitri Gribenko
Date: 2020-01-02T15:24:18+01:00
New Revision: 0eea9ba730b5c85b0ff9fa959d22fe5a66b5d013
URL: https://github.com/llvm/llvm-project/commit/0eea9ba730b5c85b0ff9fa959d22fe5a66b5d013
DIFF: https://github.com/llvm/llvm-project/commit/0eea9ba730b5c85b0ff9fa959d22fe5a66b5d013.diff
LOG: Make the llvm-ranlib/help-message.test test pass in unusual configurations
The version string can be customized by CMake options, so the 'LLVM
version' substring is not guaranteed to appear (see
VersionPrinter::print in llvm/lib/Support/CommandLine.cpp).
Added:
Modified:
llvm/test/tools/llvm-ranlib/help-message.test
Removed:
################################################################################
diff --git a/llvm/test/tools/llvm-ranlib/help-message.test b/llvm/test/tools/llvm-ranlib/help-message.test
index 61620accd6d3..8d8824ac4612 100644
--- a/llvm/test/tools/llvm-ranlib/help-message.test
+++ b/llvm/test/tools/llvm-ranlib/help-message.test
@@ -14,4 +14,4 @@
# RUN: llvm-ranlib -Dhv | FileCheck %s --check-prefix=HELP
# HELP: USAGE: llvm-ranlib
-# VERSION: LLVM version
+# VERSION: version
More information about the llvm-commits
mailing list