mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-04 03:44:59 +00:00
d08105482e
This patch changes the reproduce tests so that they no longer extract the "long" paths of the generated reproduce tar archives. This extraction prevented them from being run on Windows due to potential issues relating to the Windows path length limit. This patch also reduces the use of diff in these tests, as this was raised as a performance concern in review D77659 and deemed unnecessary. Differential Revision: https://reviews.llvm.org/D77750
13 lines
387 B
ArmAsm
13 lines
387 B
ArmAsm
# REQUIRES: x86
|
|
|
|
# Test that a repro archive always uses / instead of \.
|
|
# RUN: rm -rf %t.dir
|
|
# RUN: mkdir -p %t.dir/build
|
|
# RUN: llvm-mc %s -o %t.dir/build/foo.o -filetype=obj -triple=x86_64-pc-linux
|
|
# RUN: cd %t.dir
|
|
# RUN: ld.lld build/foo.o --reproduce repro.tar
|
|
# RUN: tar tf repro.tar | FileCheck -DPATH='repro/%:t.dir' %s
|
|
|
|
# CHECK: repro/response.txt
|
|
# CHECK: [[PATH]]/build/foo.o
|