From f0bdb5eab7f97d3de17d093418f627cc5ce5fe82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 4 Aug 2021 08:58:04 +0200 Subject: [PATCH] [llvm] [lit] Fix inconsistent test order in shtest-keyword-parse-errors Remove test times when running shtest-keyword-parse-errors test, in order to prevent the previous executions from impacting subtest order and therefore causing FileCheck to fail. Differential Revision: https://reviews.llvm.org/D107427 (cherry picked from commit 39fa96a4906934774ba20bcb0cd5f808f619f3a6) --- llvm/utils/lit/tests/shtest-keyword-parse-errors.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/llvm/utils/lit/tests/shtest-keyword-parse-errors.py b/llvm/utils/lit/tests/shtest-keyword-parse-errors.py index fb652bd5964d97..78cbf81a3e6a00 100644 --- a/llvm/utils/lit/tests/shtest-keyword-parse-errors.py +++ b/llvm/utils/lit/tests/shtest-keyword-parse-errors.py @@ -1,3 +1,6 @@ +# FIXME: this test depends on order of tests +# RUN: rm -f %{inputs}/shtest-keyword-parse-errors/.lit_test_times.txt + # RUN: not %{lit} -j 1 -vv %{inputs}/shtest-keyword-parse-errors > %t.out # RUN: FileCheck -input-file %t.out %s #