[lld] r248840 - ELF2: Unbreak buildbot.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 29 15:46:53 PDT 2015


Author: ruiu
Date: Tue Sep 29 17:46:52 2015
New Revision: 248840

URL: http://llvm.org/viewvc/llvm-project?rev=248840&view=rev
Log:
ELF2: Unbreak buildbot.

Subshell didn't work on Windows.

Added:
    lld/trunk/test/elf2/default-output.s
Modified:
    lld/trunk/test/elf2/basic.s

Modified: lld/trunk/test/elf2/basic.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/basic.s?rev=248840&r1=248839&r2=248840&view=diff
==============================================================================
--- lld/trunk/test/elf2/basic.s (original)
+++ lld/trunk/test/elf2/basic.s Tue Sep 29 17:46:52 2015
@@ -5,11 +5,6 @@
 # RUN: llvm-readobj -file-headers -sections -program-headers -symbols %t2 \
 # RUN:   | FileCheck %s
 
-# RUN: mkdir -p %t.dir
-# RUN: (cd %t.dir && lld -flavor gnu2 %t)
-# RUN: llvm-readobj -file-headers -sections -program-headers -symbols \
-# RUN:   %t.dir/a.out | FileCheck %s
-
 # exits with return code 42 on linux
 .globl _start;
 _start:

Added: lld/trunk/test/elf2/default-output.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/default-output.s?rev=248840&view=auto
==============================================================================
--- lld/trunk/test/elf2/default-output.s (added)
+++ lld/trunk/test/elf2/default-output.s Tue Sep 29 17:46:52 2015
@@ -0,0 +1,15 @@
+# REQUIRES: x86
+# Verify that default output filename is a.out.
+
+# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
+# RUN: mkdir -p %t.dir
+# RUN: cd %t.dir
+# RUN: not test -e a.out
+# RUN: lld -flavor gnu2 %t
+# RUN: test -e a.out
+
+.globl _start;
+_start:
+  mov $60, %rax
+  mov $42, %rdi
+  syscall




More information about the llvm-commits mailing list