CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
63 lines
1.5 KiB
Plaintext
63 lines
1.5 KiB
Plaintext
; RUN: FileCheck -check-prefix=A -input-file %s %s
|
|
|
|
;; This tests the LITERAL directive modifier.
|
|
|
|
The result is "5371, 5372, 5373, 5374"
|
|
|
|
The result is "[[[5371]], [[5372]], [[5373]], [[5374]]]"
|
|
[[[5375]], [[5376]],
|
|
[[[5377]], [[5378]],
|
|
{{there you go.*}}
|
|
|
|
[[10]]
|
|
[[20]]
|
|
[[50]]
|
|
|
|
;; These should all not match.
|
|
; A{}: 5371, 5372,
|
|
; A{LITERAL} 5371, 5372,
|
|
; A{LITERAL 5371, 5372,
|
|
; A{LITERAL,} 5371, 5372,
|
|
; A{, LITERAL} 5371, 5372,
|
|
|
|
; A: 5371, 5372,
|
|
; A-SAME: 5373, 5374
|
|
; A{LITERAL}: [[[5371]], [[5372]],
|
|
; A-SAME{LITERAL}: [[5373]], [[5374]]]
|
|
|
|
;; Modifier list allows whitespace.
|
|
; A{ LITERAL }: [[[5375]], [[5376]],
|
|
;; Modifiers are combined into a set and repetition is allowed.
|
|
; A{LITERAL , LITERAL}: [[[5377]], [[5378]],
|
|
|
|
; A-NEXT{LITERAL}: {{there you go.*}}
|
|
; A-NOT{LITERAL}: [[50]]
|
|
; A-DAG{LITERAL}: [[20]]
|
|
; A-DAG{LITERAL}: [[10]]
|
|
; A{LITERAL}: [[50]]
|
|
|
|
; RUN: %ProtectFileCheckOutput \
|
|
; RUN: not FileCheck %s --input-file %s --check-prefix=INVALID 2>&1 | \
|
|
; RUN: FileCheck %s --check-prefix=CHECK-INVALID
|
|
|
|
;; Ensure invalid modifier skipped.
|
|
|
|
; INVALID{BADMODIFIER}: 6371, 6372,
|
|
; CHECK-INVALID: no check strings found with prefix 'INVALID
|
|
|
|
; RUN: %ProtectFileCheckOutput \
|
|
; RUN: not FileCheck %s --input-file %s --check-prefix=CHECK-ERRNOT 2>&1 | \
|
|
; RUN: FileCheck %s --check-prefix=ERRNOT
|
|
|
|
;; This ensures a failure is correctly reported when a NOT directive with a
|
|
;; LITERAL modifier matches.
|
|
|
|
[[a]]
|
|
[[b]]
|
|
[[c]]
|
|
|
|
; CHECK-ERRNOT{LITERAL}: [[a]]
|
|
; CHECK-ERRNOT-NOT{LITERAL}: [[b]]
|
|
; CHECK-ERRNOT{LITERAL}: [[c]]
|
|
; ERRNOT: no match expected
|