[llvm] 2c313d9 - [loongarch] fix syntax error in script
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 3 04:50:21 PST 2022
Author: Nico Weber
Date: 2022-12-03T07:49:43-05:00
New Revision: 2c313d9915b10da529347668cf4880f6194e09ff
URL: https://github.com/llvm/llvm-project/commit/2c313d9915b10da529347668cf4880f6194e09ff
DIFF: https://github.com/llvm/llvm-project/commit/2c313d9915b10da529347668cf4880f6194e09ff.diff
LOG: [loongarch] fix syntax error in script
At least on macOS with zsh, the test failed with
line 1: syntax error near unexpected token `&'
previously.
Added:
Modified:
llvm/test/MC/LoongArch/Relocations/reloc-directive-err.s
Removed:
################################################################################
diff --git a/llvm/test/MC/LoongArch/Relocations/reloc-directive-err.s b/llvm/test/MC/LoongArch/Relocations/reloc-directive-err.s
index 07860dfdc87d..60fd145564ae 100644
--- a/llvm/test/MC/LoongArch/Relocations/reloc-directive-err.s
+++ b/llvm/test/MC/LoongArch/Relocations/reloc-directive-err.s
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --triple=loongarch64 %s |& FileCheck --check-prefix=PRINT %s
+# RUN: llvm-mc --triple=loongarch64 %s | FileCheck --check-prefix=PRINT %s
# RUN: not llvm-mc --filetype=obj --triple=loongarch64 %s -o /dev/null 2>&1 \
# RUN: | FileCheck %s
More information about the llvm-commits
mailing list