Skip to content

Commit 5a3be7c

Browse files
author
joaosaffran
committed
making sure Error tests fail
1 parent 3d19f8b commit 5a3be7c

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

llvm/test/CodeGen/DirectX/ContainerData/RootSignature-Flags-Error.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
; RUN: not llc %s --filetype=obj -o -
1+
; RUN: not llc %s --filetype=obj -o - 2>&1 | FileCheck %s
22

33
target triple = "dxil-unknown-shadermodel6.0-compute"
44

5-
; expected-error@-1: Invalid Root Element: NOTRootFlags
5+
; CHECK: error: Invalid Root Element: NOTRootFlags
66

77

88
define void @main() #0 {

llvm/test/CodeGen/DirectX/ContainerData/RootSignature-Flags-Validation-Error.ll

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
; RUN: not llc %s --filetype=obj -o -
1+
; RUN: not llc %s --filetype=obj -o - 2>&1 | FileCheck %s
2+
3+
; CHECK: error: Invalid Root Signature flag value
4+
25
target triple = "dxil-unknown-shadermodel6.0-compute"
3-
; expected-error@-1: Invalid flag value for RootFlag
46

57

68
define void @main() #0 {

llvm/test/CodeGen/DirectX/ContainerData/RootSignature-MultipleEntryFunctions-Error.ll

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
; RUN: not llc %s --filetype=obj -o -
2-
; expected-error@-1: More than one entry function defined
1+
; RUN: not llc %s --filetype=obj -o - 2>&1 | FileCheck %s
2+
3+
; CHECK: error: More than one entry function defined
34

45
target triple = "dxil-unknown-shadermodel6.0-compute"
56

0 commit comments

Comments
 (0)