mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 21:53:12 +08:00
ELF2: Unbreak buildbot.
Subshell didn't work on Windows. llvm-svn: 248840
This commit is contained in:
@@ -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:
|
||||
|
||||
15
lld/test/elf2/default-output.s
Normal file
15
lld/test/elf2/default-output.s
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user