Skip to content

syclbin/input_files.cpp unittest failing #19404

@sarnex

Description

@sarnex

Describe the bug

 Testing:  0.. 10.. 20.. 30..
FAIL: SYCL :: syclbin/input_files.cpp (726 of 1815)
******************** TEST 'SYCL :: syclbin/input_files.cpp' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
not syclbin-dump nonexistent.syclbin 2>&1 | FileCheck /__w/llvm/llvm/src/sycl/test/syclbin/input_files.cpp --check-prefix CHECK-NONEXISTENT-FILE
# executed command: not syclbin-dump nonexistent.syclbin
# note: command had no output on stdout or stderr
# executed command: FileCheck /__w/llvm/llvm/src/sycl/test/syclbin/input_files.cpp --check-prefix CHECK-NONEXISTENT-FILE
# note: command had no output on stdout or stderr
# RUN: at line 2
not syclbin-dump /__w/llvm/llvm/src/sycl/test/syclbin/Inputs/malformed.syclbin 2>&1 | FileCheck /__w/llvm/llvm/src/sycl/test/syclbin/input_files.cpp --check-prefix CHECK-MALFORMED-FILE
# executed command: not syclbin-dump /__w/llvm/llvm/src/sycl/test/syclbin/Inputs/malformed.syclbin
# note: command had no output on stdout or stderr
# executed command: FileCheck /__w/llvm/llvm/src/sycl/test/syclbin/input_files.cpp --check-prefix CHECK-MALFORMED-FILE
# .---command stderr------------
# | /__w/llvm/llvm/src/sycl/test/syclbin/input_files.cpp:5:26: error: CHECK-MALFORMED-FILE: expected string not found in input
# | // CHECK-MALFORMED-FILE: Invalid data was encountered while parsing the file
# |                          ^
# | <stdin>:1:1: note: scanning from here
# | Failed to parse SYCLBIN file.
# | ^
# | 
# | Input file: <stdin>
# | Check file: /__w/llvm/llvm/src/sycl/test/syclbin/input_files.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |          1: Failed to parse SYCLBIN file. 
# | check:5     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
 ********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
********************
Failed Tests (1):
  SYCL :: syclbin/input_files.cpp

Test added in #19272

To reproduce

No response

Environment

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions