Revert "[SystemZ][z/OS] Fix No such file or directory expression error matching in lit tests - continued"

This reverts commit 520b5ecf85.
This commit is contained in:
Abhina Sreeskantharajan 2021-01-25 08:02:27 -05:00
parent d6d36baa33
commit 84851a274e
15 changed files with 15 additions and 15 deletions

View File

@ -72,7 +72,7 @@
// RUN: not clang-offload-bundler -type=i -targets=host-%itanium_abi_triple,openmp-powerpc64le-ibm-linux-gnu,openmp-x86_64-pc-linux-gnu -inputs=%t.i,%t.tgt1,%t.tgt2.notexist -outputs=%t.bundle.i 2>&1 | FileCheck %s -DFILE=%t.tgt2.notexist --check-prefix CK-ERR5 // RUN: not clang-offload-bundler -type=i -targets=host-%itanium_abi_triple,openmp-powerpc64le-ibm-linux-gnu,openmp-x86_64-pc-linux-gnu -inputs=%t.i,%t.tgt1,%t.tgt2.notexist -outputs=%t.bundle.i 2>&1 | FileCheck %s -DFILE=%t.tgt2.notexist --check-prefix CK-ERR5
// RUN: not clang-offload-bundler -type=i -targets=host-%itanium_abi_triple,openmp-powerpc64le-ibm-linux-gnu,openmp-x86_64-pc-linux-gnu -outputs=%t.i,%t.tgt1,%t.tgt2 -inputs=%t.bundle.i.notexist -unbundle 2>&1 | FileCheck %s -DFILE=%t.bundle.i.notexist --check-prefix CK-ERR5 // RUN: not clang-offload-bundler -type=i -targets=host-%itanium_abi_triple,openmp-powerpc64le-ibm-linux-gnu,openmp-x86_64-pc-linux-gnu -outputs=%t.i,%t.tgt1,%t.tgt2 -inputs=%t.bundle.i.notexist -unbundle 2>&1 | FileCheck %s -DFILE=%t.bundle.i.notexist --check-prefix CK-ERR5
// CK-ERR5: error: '[[FILE]]': {{.*}}{{N|n}}o such file or directory // CK-ERR5: error: '[[FILE]]': {{N|n}}o such file or directory
// RUN: not clang-offload-bundler -type=invalid -targets=host-%itanium_abi_triple,openmp-powerpc64le-ibm-linux-gnu,openmp-x86_64-pc-linux-gnu -inputs=%t.i,%t.tgt1,%t.tgt2 -outputs=%t.bundle.i 2>&1 | FileCheck %s -DTYPE=invalid --check-prefix CK-ERR6 // RUN: not clang-offload-bundler -type=invalid -targets=host-%itanium_abi_triple,openmp-powerpc64le-ibm-linux-gnu,openmp-x86_64-pc-linux-gnu -inputs=%t.i,%t.tgt1,%t.tgt2 -outputs=%t.bundle.i 2>&1 | FileCheck %s -DTYPE=invalid --check-prefix CK-ERR6
// CK-ERR6: error: '[[TYPE]]': invalid file type specified // CK-ERR6: error: '[[TYPE]]': invalid file type specified

View File

@ -1,4 +1,4 @@
// RUN: not %clang_cc1 -emit-llvm -o %t.doesnotexist/somename %s 2> %t // RUN: not %clang_cc1 -emit-llvm -o %t.doesnotexist/somename %s 2> %t
// RUN: FileCheck -check-prefix=OUTPUTFAIL -input-file=%t %s // RUN: FileCheck -check-prefix=OUTPUTFAIL -input-file=%t %s
// OUTPUTFAIL: error: unable to open output file '{{.*}}doesnotexist{{.}}somename': '{{.*}}{{[nN]}}o such file or directory{{.*}}' // OUTPUTFAIL: error: unable to open output file '{{.*}}doesnotexist{{.}}somename': '{{[nN]}}o such file or directory'

View File

@ -8,4 +8,4 @@ RUN: rm foo
RUN: mkdir foo RUN: mkdir foo
RUN: not llvm-ar x test.a foo 2>&1 | FileCheck %s RUN: not llvm-ar x test.a foo 2>&1 | FileCheck %s
CHECK: foo: {{.*}}{{[Ii]}}s a directory{{.*}} CHECK: foo: {{[Ii]}}s a directory

View File

@ -58,4 +58,4 @@ RUN: llvm-ar p %p/Inputs/thin.a evenlen | FileCheck %s --check-prefix=EVENLEN
EVENLEN: evenlen EVENLEN: evenlen
RUN: not llvm-ar p %p/Inputs/thin-path.a t/test2.o 2>&1 | FileCheck %s --check-prefix=MISSING RUN: not llvm-ar p %p/Inputs/thin-path.a t/test2.o 2>&1 | FileCheck %s --check-prefix=MISSING
MISSING: error: {{.*}}{{N|n}}o such file or directory MISSING: error: {{N|n}}o such file or directory

View File

@ -1,6 +1,6 @@
;RUN: rm -rf %t && mkdir -p %t ;RUN: rm -rf %t && mkdir -p %t
;RUN: not llvm-ar r %t/test.a . 2>&1 | FileCheck %s ;RUN: not llvm-ar r %t/test.a . 2>&1 | FileCheck %s
;CHECK: .: {{.*}}{{I|i}}s a directory{{.*}} ;CHECK: .: {{I|i}}s a directory
;RUN: rm -f %t/test.a ;RUN: rm -f %t/test.a
;RUN: touch %t/a-very-long-file-name ;RUN: touch %t/a-very-long-file-name

View File

@ -9,4 +9,4 @@
# RUN: not llvm-ar p %t/tmpDir 2>&1 | \ # RUN: not llvm-ar p %t/tmpDir 2>&1 | \
# RUN: FileCheck %s --check-prefix=IS-DIR -DARCHIVE=%t/tmpDir # RUN: FileCheck %s --check-prefix=IS-DIR -DARCHIVE=%t/tmpDir
# IS-DIR: error: unable to open '[[ARCHIVE]]': {{.*}}{{[iI]}}s a directory # IS-DIR: error: unable to open '[[ARCHIVE]]': {{[iI]}}s a directory

View File

@ -84,7 +84,7 @@
# RUN: not llvm-ar m %t/missing.a %t/missing.txt 2>&1 \ # RUN: not llvm-ar m %t/missing.a %t/missing.txt 2>&1 \
# RUN: | FileCheck %s --check-prefix=MISSING-FILE -DFILE=%t/missing.txt # RUN: | FileCheck %s --check-prefix=MISSING-FILE -DFILE=%t/missing.txt
# MISSING-FILE: error: [[FILE]]: {{.*}}{{[nN]}}o such file or directory # MISSING-FILE: error: [[FILE]]: {{[nN]}}o such file or directory
--- !ELF --- !ELF
FileHeader: FileHeader:

View File

@ -75,7 +75,7 @@
# RUN: not llvm-ar p %t/missing.a 2>&1 \ # RUN: not llvm-ar p %t/missing.a 2>&1 \
# RUN: | FileCheck %s --check-prefix=MISSING-ARCHIVE -DARCHIVE=%t/missing.a # RUN: | FileCheck %s --check-prefix=MISSING-ARCHIVE -DARCHIVE=%t/missing.a
# MISSING-ARCHIVE: error: unable to load '[[ARCHIVE]]': {{.*}}{{[nN]}}o such file or directory # MISSING-ARCHIVE: error: unable to load '[[ARCHIVE]]': {{[nN]}}o such file or directory
## Member does not exist: ## Member does not exist:
# RUN: not llvm-ar p %t/archive.a %t-missing.txt 2>&1 \ # RUN: not llvm-ar p %t/archive.a %t-missing.txt 2>&1 \

View File

@ -60,7 +60,7 @@
# RUN: not llvm-ar qc %t/missing.a %t/missing.txt 2>&1 \ # RUN: not llvm-ar qc %t/missing.a %t/missing.txt 2>&1 \
# RUN: | FileCheck %s --check-prefix=MISSING-FILE -DFILE=%t/missing.txt # RUN: | FileCheck %s --check-prefix=MISSING-FILE -DFILE=%t/missing.txt
# MISSING-FILE: error: [[FILE]]: {{.*}}{{[nN]}}o such file or directory # MISSING-FILE: error: [[FILE]]: {{[nN]}}o such file or directory
## Create and append members to a thin archive: ## Create and append members to a thin archive:
# RUN: llvm-ar qcT %t/thin-multiple.a %t/1.o # RUN: llvm-ar qcT %t/thin-multiple.a %t/1.o

View File

@ -28,7 +28,7 @@
# RUN: not llvm-libtool-darwin -static -o %t.lib %t.missing 2>&1 | \ # RUN: not llvm-libtool-darwin -static -o %t.lib %t.missing 2>&1 | \
# RUN: FileCheck %s --check-prefix=NO-FILE -DFILE=%t.missing # RUN: FileCheck %s --check-prefix=NO-FILE -DFILE=%t.missing
# NO-FILE: error: '[[FILE]]': {{.*}}{{[nN]}}o such file or directory # NO-FILE: error: '[[FILE]]': {{[nN]}}o such file or directory
## Input file is not an object file: ## Input file is not an object file:
# RUN: touch %t.invalid # RUN: touch %t.invalid

View File

@ -14,4 +14,4 @@
# INVALID_ARCH: error: Invalid architecture: i3866 # INVALID_ARCH: error: Invalid architecture: i3866
# #
# RUN: not llvm-lipo -arch i386 %t-33.o -create -o /dev/null 2>&1 | FileCheck --check-prefix=INVALID_FILE %s # RUN: not llvm-lipo -arch i386 %t-33.o -create -o /dev/null 2>&1 | FileCheck --check-prefix=INVALID_FILE %s
# INVALID_FILE: {{.*}}{{[nN]}}o such file or directory # INVALID_FILE: {{[nN]}}o such file or directory

View File

@ -12,7 +12,7 @@
# INPUT_ARGS: error: replace expects a single input file # INPUT_ARGS: error: replace expects a single input file
# RUN: not llvm-lipo %t-universal.o -replace i386 %t-33.o -o %t.o 2>&1 | FileCheck --check-prefix=INVALID_FILE %s # RUN: not llvm-lipo %t-universal.o -replace i386 %t-33.o -o %t.o 2>&1 | FileCheck --check-prefix=INVALID_FILE %s
# INVALID_FILE: {{.*}}{{[nN]}}o such file or directory # INVALID_FILE: {{[nN]}}o such file or directory
# RUN: not llvm-lipo %t-universal.o -replace i3866 %t-32.o -o %t.o 2>&1 | FileCheck --check-prefix=INVALID_ARCH %s # RUN: not llvm-lipo %t-universal.o -replace i3866 %t-32.o -o %t.o 2>&1 | FileCheck --check-prefix=INVALID_ARCH %s
# INVALID_ARCH: error: Invalid architecture: i3866 # INVALID_ARCH: error: Invalid architecture: i3866

View File

@ -1,5 +1,5 @@
; RUN: not llvm-lto foobar 2>&1 | FileCheck %s ; RUN: not llvm-lto foobar 2>&1 | FileCheck %s
; CHECK: llvm-lto: error loading file 'foobar': {{.*}}{{N|n}}o such file or directory ; CHECK: llvm-lto: error loading file 'foobar': {{N|n}}o such file or directory
; RUN: not llvm-lto --list-symbols-only %S/Inputs/empty.bc 2>&1 | FileCheck %s --check-prefix=CHECK-LIST ; RUN: not llvm-lto --list-symbols-only %S/Inputs/empty.bc 2>&1 | FileCheck %s --check-prefix=CHECK-LIST
; CHECK-LIST: llvm-lto: error loading file '{{.*}}/Inputs/empty.bc': The file was not recognized as a valid object file ; CHECK-LIST: llvm-lto: error loading file '{{.*}}/Inputs/empty.bc': The file was not recognized as a valid object file

View File

@ -11,7 +11,7 @@
# CHECK: 0000020 63 6c 61 6e 67 05 39 2e 30 2e 30 # CHECK: 0000020 63 6c 61 6e 67 05 39 2e 30 2e 30
# NONEXISTENT: section 'nonexistent' not found # NONEXISTENT: section 'nonexistent' not found
# DIROUT: error: {{.*}}/bar': {{.*}}{{[nN]}}o such file or directory # DIROUT: error: {{.*}}/bar': {{[nN]}}o such file or directory
## Check that dumping and removing a section works in the same invocation ## Check that dumping and removing a section works in the same invocation
# RUN: llvm-objcopy --dump-section=producers=%t.sec --remove-section=producers %t %t2 # RUN: llvm-objcopy --dump-section=producers=%t.sec --remove-section=producers %t %t2

View File

@ -4,7 +4,7 @@ RUN: FileCheck --check-prefix=ERROR %s < %t.err
llvm-symbolizer should print one error and two unknown line info records. llvm-symbolizer should print one error and two unknown line info records.
ERROR: LLVMSymbolizer: error reading file: {{.*}}: {{.*}}{{N|n}}o such file or directory ERROR: LLVMSymbolizer: error reading file: {{.*}}: {{N|n}}o such file or directory
ERROR-NOT: error reading file ERROR-NOT: error reading file
CHECK: ?? CHECK: ??