Disable threads in a few tests.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 15 May 2017 18:29:14 +0000 (18:29 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 15 May 2017 18:29:14 +0000 (18:29 +0000)
They are too slow otherwise. We track the issue in pr32942.

llvm-svn: 303097

lld/test/ELF/many-alloc-sections.s
lld/test/ELF/many-sections.s

index d73f95d..441e5ff 100644 (file)
@@ -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.
index ae82868..ae92388 100644 (file)
 // 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.