[lld] r303097 - Disable threads in a few tests.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Mon May 15 11:29:14 PDT 2017
Author: rafael
Date: Mon May 15 13:29:14 2017
New Revision: 303097
URL: http://llvm.org/viewvc/llvm-project?rev=303097&view=rev
Log:
Disable threads in a few tests.
They are too slow otherwise. We track the issue in pr32942.
Modified:
lld/trunk/test/ELF/many-alloc-sections.s
lld/trunk/test/ELF/many-sections.s
Modified: lld/trunk/test/ELF/many-alloc-sections.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/many-alloc-sections.s?rev=303097&r1=303096&r2=303097&view=diff
==============================================================================
--- lld/trunk/test/ELF/many-alloc-sections.s (original)
+++ lld/trunk/test/ELF/many-alloc-sections.s Mon May 15 13:29:14 2017
@@ -1,6 +1,7 @@
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o %t.o
// RUN: echo "SECTIONS { . = SIZEOF_HEADERS; .text : { *(.text) } }" > %t.script
-// RUN: ld.lld -T %t.script %t.o -o %t
+// FIXME: threads are disable because the test is too slow with them (PR32942).
+// RUN: ld.lld -T %t.script %t.o -o %t --no-threads
// RUN: llvm-readobj -t %t | FileCheck %s
// Test that _start is in the correct section.
Modified: lld/trunk/test/ELF/many-sections.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/many-sections.s?rev=303097&r1=303096&r2=303097&view=diff
==============================================================================
--- lld/trunk/test/ELF/many-sections.s (original)
+++ lld/trunk/test/ELF/many-sections.s Mon May 15 13:29:14 2017
@@ -11,12 +11,14 @@
// CHECK-NEXT: Section: dm (0xFF00)
-// RUN: ld.lld %t -o %t2
+// FIXME: threads are disable because the test is too slow with them (PR32942).
+// RUN: ld.lld %t -o %t2 --no-threads
// RUN: llvm-readobj -t %t2 | FileCheck --check-prefix=LINKED %s
// Test also with a linker script.
// RUN: echo "SECTIONS { . = SIZEOF_HEADERS; .text : { *(.text) } }" > %t.script
-// RUN: ld.lld -T %t.script %t -o %t2
+// FIXME: threads are disable because the test is too slow with them (PR32942).
+// RUN: ld.lld -T %t.script %t -o %t2 --no-threads
// RUN: llvm-readobj -t %t2 | FileCheck --check-prefix=LINKED %s
// Test that _start is in the correct section.
More information about the llvm-commits
mailing list