Skip to content

Commit 31d2894

Browse files
authored
Restrict llvm-ctxprof-util tests to linux (#100650)
Follow up from PR #100379, this is to avoid output formatting differences.
1 parent 888ae90 commit 31d2894

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

llvm/test/tools/llvm-ctxprof-util/llvm-ctxprof-util-negative.test

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
; REQUIRES: x86_64-linux
2+
13
; RUN: not llvm-ctxprof-util nofile.json 2>&1 | FileCheck %s --check-prefix=NO_CMD
24
; RUN: not llvm-ctxprof-util invalidCmd --input nofile.json 2>&1 | FileCheck %s --check-prefix=INVALID_CMD
35
; RUN: not llvm-ctxprof-util fromJSON nofile.json 2>&1 | FileCheck %s --check-prefix=NO_FLAG

llvm/test/tools/llvm-ctxprof-util/llvm-ctxprof-util.test

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
; REQUIRES: x86_64-linux
2+
13
; RUN: mkdir -p %t
24
; RUN: llvm-ctxprof-util fromJSON --input %S/Inputs/empty.json -output %t/empty.bitstream
35
; RUN: llvm-bcanalyzer --dump %t/empty.bitstream | FileCheck %s --check-prefix=EMPTY

0 commit comments

Comments
 (0)