brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1021 B · 59a247c Raw
21 lines · plain
1; RUN: llvm-readtapi --help 2>&1 | FileCheck %s 2; RUN: llvm-readtapi -help 2>&1 | FileCheck %s 3// Check mutually exclusive options.4; RUN: not llvm-readtapi -merge -compare -compact %t/tmp.tbd %t/tmp2.tbd 2>&1 | FileCheck %s --check-prefix MULTI_ACTION5// Check unsupported file output format.6; RUN: not llvm-readtapi -merge -compact %t/tmp.tbd %t/tmp2.tbd --filetype=tbd-v2 2>&1 | FileCheck %s --check-prefix FILE_FORMAT 7// Check version printing.8; RUN: llvm-readtapi -v 2>&1 | FileCheck %s --check-prefix VERSION9; RUN: llvm-readtapi --version 2>&1 | FileCheck %s --check-prefix VERSION10 11; CHECK: OVERVIEW: LLVM TAPI file reader and transformer 12; CHECK: USAGE: llvm-readtapi <command> [-arch <architecture> <options>]* <inputs> [-o <output>]*13; CHECK: COMMANDS:14; CHECK: OPTIONS:15; CHECK:   -help    display this help16 17; MULTI_ACTION: error: only one of the following actions can be specified: -merge -compare18; FILE_FORMAT: error: deprecated filetype 'tbd-v2' is not supported to write19 20; VERSION: {{ version }}21