From 0eea9ba730b5c85b0ff9fa959d22fe5a66b5d013 Mon Sep 17 00:00:00 2001 From: Dmitri Gribenko Date: Thu, 2 Jan 2020 15:18:35 +0100 Subject: [PATCH] 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). --- llvm/test/tools/llvm-ranlib/help-message.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/test/tools/llvm-ranlib/help-message.test b/llvm/test/tools/llvm-ranlib/help-message.test index 61620ac..8d8824a 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 -- 2.7.4