Skip to content

Commit 1eebf91

Browse files
committed
> Maybe NOIMPORTFILES (they are imports files not index files)?
Thanks. Fixed. > Redundant with earlier line Thanks. Remove the first check leaving only the -save-temps one. > Similar to above suggest s/INDEX/IMPORT/ Thanks. Fixed.
1 parent a6e8106 commit 1eebf91

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

llvm/test/ThinLTO/X86/dtlto/imports.test

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,22 +38,18 @@ INPUTS-NEXT: ]
3838
# This check ensures that we have failed for the expected reason.
3939
ERR: failed: DTLTO backend compilation: cannot open native object file:
4040

41-
# Check that imports files have not been created.
42-
RUN: ls | FileCheck %s --check-prefix=NOINDEXFILES
43-
NOINDEXFILES-NOT: imports
44-
45-
# Check that imports files are not created with -save-temps.
41+
# Check that imports files are not created even if -save-temps is active.
4642
RUN: not %{command} -save-temps 2>&1 \
4743
RUN: | FileCheck %s --check-prefixes=ERR
48-
RUN: ls | FileCheck %s --check-prefix=NOINDEXFILES
49-
NOINDEXFILES-NOT: imports
44+
RUN: ls | FileCheck %s --check-prefix=NOIMPORTFILES
45+
NOIMPORTFILES-NOT: imports
5046

5147
# Check that imports files are created with -thinlto-emit-imports.
5248
RUN: not %{command} -thinlto-emit-imports 2>&1 \
5349
RUN: | FileCheck %s --check-prefixes=ERR
54-
RUN: ls | FileCheck %s --check-prefix=INDEXFILES
55-
INDEXFILES: 0.bc.imports
56-
INDEXFILES: 1.bc.imports
50+
RUN: ls | FileCheck %s --check-prefix=IMPORTFILES
51+
IMPORTFILES: 0.bc.imports
52+
IMPORTFILES: 1.bc.imports
5753

5854
#--- 0.ll
5955
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"

0 commit comments

Comments
 (0)