Skip to content

Commit 0f07ff8

Browse files
committed
[Clang] Fix test that sometimes fails depending on the temp name
Summary: This test has a negative check for an extra file. it turns out that sometimes the temp name can match it. Be more specific with it.
1 parent dafebd5 commit 0f07ff8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/Driver/linker-wrapper-libs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,5 +128,5 @@ int bar() { return weak; }
128128
// RUN: | FileCheck %s --check-prefix=LIBRARY-GLOBAL-DEFINED
129129

130130
// LIBRARY-GLOBAL-DEFINED: clang{{.*}} -o {{.*}}.img --target=amdgcn-amd-amdhsa -mcpu=gfx1030 {{.*}}.o {{.*}}.o
131-
// LIBRARY-GLOBAL-DEFINED-NOT: {{.*}}.o
131+
// LIBRARY-GLOBAL-DEFINED-NOT: {{.*}}gfx1030{{.*}}.o
132132
// LIBRARY-GLOBAL-DEFINED: clang{{.*}} -o {{.*}}.img --target=nvptx64-nvidia-cuda -march=sm_70 {{.*}}.s {{.*}}.o

0 commit comments

Comments
 (0)