summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/test/elf/mergeconstants.test4
1 files changed, 3 insertions, 1 deletions
diff --git a/lld/test/elf/mergeconstants.test b/lld/test/elf/mergeconstants.test
index b5b0872769a..a8f3ef5d1bf 100644
--- a/lld/test/elf/mergeconstants.test
+++ b/lld/test/elf/mergeconstants.test
@@ -1,5 +1,7 @@
# The test checks for mergeable strings that appear in the object file
-RUN: lld -flavor gnu --merge-strings --output-filetype=yaml %p/Inputs/constants-merge.x86-64 --noinhibit-exec | FileCheck -check-prefix=mergeAtoms %s
+RUN: lld -flavor gnu --merge-strings --output-filetype=yaml -target x86_64 \
+RUN: %p/Inputs/constants-merge.x86-64 --noinhibit-exec \
+RUN: | FileCheck -check-prefix=mergeAtoms %s
mergeAtoms: - ref-name: [[CONSTANT:[-a-zA-Z0-9_]+]]
mergeAtoms: type: constant
OpenPOWER on IntegriCloud