mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 07:31:28 +00:00
Fix tests hip-offload-compress-zlib/zstd.hip (#74783)
Use %t in output file name as %T is non-unique.
This commit is contained in:
parent
31316b3f85
commit
b842b1b65a
@ -4,13 +4,13 @@
|
||||
|
||||
// Test compress bundled bitcode.
|
||||
|
||||
// RUN: rm -rf %T/a.bc
|
||||
// RUN: rm -rf %t.bc
|
||||
// RUN: %clang -c -v --target=x86_64-linux-gnu \
|
||||
// RUN: -x hip --offload-arch=gfx1100 --offload-arch=gfx1101 \
|
||||
// RUN: -fgpu-rdc -nogpuinc -nogpulib \
|
||||
// RUN: %S/Inputs/hip_multiple_inputs/a.cu \
|
||||
// RUN: --offload-compress --offload-device-only --gpu-bundle-output \
|
||||
// RUN: -o %T/a.bc \
|
||||
// RUN: -o %t.bc \
|
||||
// RUN: 2>&1 | FileCheck %s
|
||||
|
||||
// CHECK: clang-offload-bundler{{.*}} -type=bc
|
||||
@ -23,7 +23,7 @@
|
||||
// RUN: %clang --hip-link -### -v --target=x86_64-linux-gnu \
|
||||
// RUN: --offload-arch=gfx1100 --offload-arch=gfx1101 \
|
||||
// RUN: -fgpu-rdc -nogpulib \
|
||||
// RUN: %T/a.bc --offload-device-only \
|
||||
// RUN: %t.bc --offload-device-only \
|
||||
// RUN: 2>&1 | FileCheck -check-prefix=UNBUNDLE %s
|
||||
|
||||
// UNBUNDLE: clang-offload-bundler{{.*}} "-type=bc"
|
||||
|
@ -4,13 +4,13 @@
|
||||
|
||||
// Test compress bundled bitcode.
|
||||
|
||||
// RUN: rm -rf %T/a.bc
|
||||
// RUN: rm -rf %t.bc
|
||||
// RUN: %clang -c -v --target=x86_64-linux-gnu \
|
||||
// RUN: -x hip --offload-arch=gfx1100 --offload-arch=gfx1101 \
|
||||
// RUN: -fgpu-rdc -nogpuinc -nogpulib \
|
||||
// RUN: %S/Inputs/hip_multiple_inputs/a.cu \
|
||||
// RUN: --offload-compress --offload-device-only --gpu-bundle-output \
|
||||
// RUN: -o %T/a.bc \
|
||||
// RUN: -o %t.bc \
|
||||
// RUN: 2>&1 | FileCheck %s
|
||||
|
||||
// CHECK: clang-offload-bundler{{.*}} -type=bc
|
||||
@ -23,7 +23,7 @@
|
||||
// RUN: %clang --hip-link -### -v --target=x86_64-linux-gnu \
|
||||
// RUN: --offload-arch=gfx1100 --offload-arch=gfx1101 \
|
||||
// RUN: -fgpu-rdc -nogpulib \
|
||||
// RUN: %T/a.bc --offload-device-only \
|
||||
// RUN: %t.bc --offload-device-only \
|
||||
// RUN: 2>&1 | FileCheck -check-prefix=UNBUNDLE %s
|
||||
|
||||
// UNBUNDLE: clang-offload-bundler{{.*}} "-type=bc"
|
||||
|
Loading…
Reference in New Issue
Block a user