Author: Harini0924 Date: 2024-08-30T10:05:09-07:00 New Revision: 3f438c3e7f40f09118d4e1fa8a81b596f3ada5d1
URL: https://github.com/llvm/llvm-project/commit/3f438c3e7f40f09118d4e1fa8a81b596f3ada5d1 DIFF: https://github.com/llvm/llvm-project/commit/3f438c3e7f40f09118d4e1fa8a81b596f3ada5d1.diff LOG: Revert "[llvm-lit] Add precommit test to verify current behavior of glob expa…" This reverts commit 9764cf888502fe6dd15ab21de5c2f73cae47a2c0. Added: Modified: Removed: llvm/utils/lit/tests/Inputs/shtest-glob/example_file1.input llvm/utils/lit/tests/Inputs/shtest-glob/example_file2.input llvm/utils/lit/tests/Inputs/shtest-glob/glob-echo.txt llvm/utils/lit/tests/Inputs/shtest-glob/glob-mkdir.txt llvm/utils/lit/tests/Inputs/shtest-glob/lit.cfg llvm/utils/lit/tests/shtest-glob.py ################################################################################ diff --git a/llvm/utils/lit/tests/Inputs/shtest-glob/example_file1.input b/llvm/utils/lit/tests/Inputs/shtest-glob/example_file1.input deleted file mode 100644 index 0987c9081ca1f3..00000000000000 --- a/llvm/utils/lit/tests/Inputs/shtest-glob/example_file1.input +++ /dev/null @@ -1,2 +0,0 @@ -## This is the first example file used for testing glob pattern matching. -This is the first example file. diff --git a/llvm/utils/lit/tests/Inputs/shtest-glob/example_file2.input b/llvm/utils/lit/tests/Inputs/shtest-glob/example_file2.input deleted file mode 100644 index f1a843f308262e..00000000000000 --- a/llvm/utils/lit/tests/Inputs/shtest-glob/example_file2.input +++ /dev/null @@ -1,2 +0,0 @@ -## This is the second example file used for testing glob pattern matching. -This is the second example file. diff --git a/llvm/utils/lit/tests/Inputs/shtest-glob/glob-echo.txt b/llvm/utils/lit/tests/Inputs/shtest-glob/glob-echo.txt deleted file mode 100644 index b69f5e74fd7281..00000000000000 --- a/llvm/utils/lit/tests/Inputs/shtest-glob/glob-echo.txt +++ /dev/null @@ -1,2 +0,0 @@ -## Tests glob pattern expansion by listing matching files. -# RUN: echo %S/example_file*.input diff --git a/llvm/utils/lit/tests/Inputs/shtest-glob/glob-mkdir.txt b/llvm/utils/lit/tests/Inputs/shtest-glob/glob-mkdir.txt deleted file mode 100644 index d1329f5dbfaaed..00000000000000 --- a/llvm/utils/lit/tests/Inputs/shtest-glob/glob-mkdir.txt +++ /dev/null @@ -1,2 +0,0 @@ -## Tests glob pattern handling in the mkdir command. -# RUN: not mkdir %S/example_file*.input diff --git a/llvm/utils/lit/tests/Inputs/shtest-glob/lit.cfg b/llvm/utils/lit/tests/Inputs/shtest-glob/lit.cfg deleted file mode 100644 index 4e5f4cac4c4653..00000000000000 --- a/llvm/utils/lit/tests/Inputs/shtest-glob/lit.cfg +++ /dev/null @@ -1,8 +0,0 @@ -import lit.formats - -config.name = "shtest-glob" -config.suffixes = [".txt"] -config.test_format = lit.formats.ShTest() -config.test_source_root = None -config.test_exec_root = None -config.substitutions.append(("%{python}", '"%s"' % (sys.executable))) diff --git a/llvm/utils/lit/tests/shtest-glob.py b/llvm/utils/lit/tests/shtest-glob.py deleted file mode 100644 index 551331cb38e259..00000000000000 --- a/llvm/utils/lit/tests/shtest-glob.py +++ /dev/null @@ -1,12 +0,0 @@ -## Tests glob pattern handling in echo command. - -# RUN: not %{lit} -a -v %{inputs}/shtest-glob \ -# RUN: | FileCheck -dump-input=fail -match-full-lines %s -# -# END. - -# CHECK: UNRESOLVED: shtest-glob :: glob-echo.txt ({{[^)]*}}) -# CHECK: TypeError: string argument expected, got 'GlobItem' - -# CHECK: FAIL: shtest-glob :: glob-mkdir.txt ({{[^)]*}} -# CHECK: # error: command failed with exit status: 1 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits