[llvm] f8b8a1c - Fix lit version test
via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 13 12:49:58 PST 2020
Author: serge-sans-paille
Date: 2020-02-13T21:49:48+01:00
New Revision: f8b8a1ca8b6a82f28c96cbb1e3c2c136dc5b836b
URL: https://github.com/llvm/llvm-project/commit/f8b8a1ca8b6a82f28c96cbb1e3c2c136dc5b836b
DIFF: https://github.com/llvm/llvm-project/commit/f8b8a1ca8b6a82f28c96cbb1e3c2c136dc5b836b.diff
LOG: Fix lit version test
Looks like on some system, version is printed on stderr, on some it's on stdout...
Added:
Modified:
llvm/utils/lit/tests/version.py
Removed:
################################################################################
diff --git a/llvm/utils/lit/tests/version.py b/llvm/utils/lit/tests/version.py
index 6d1d0fc5c794..1d5e152ddd3b 100644
--- a/llvm/utils/lit/tests/version.py
+++ b/llvm/utils/lit/tests/version.py
@@ -1,5 +1,5 @@
# Basic sanity check that --version works.
#
-# RUN: %{lit} --version | FileCheck %s
+# RUN: %{lit} --version 2>&1 | FileCheck %s
#
# CHECK: lit {{[0-9]+\.[0-9]+\.[0-9]+[a-zA-Z0-9]*}}
More information about the llvm-commits
mailing list