File: tool-name.test

package info (click to toggle)
llvm-toolchain-15 1%3A15.0.6-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,554,644 kB
  • sloc: cpp: 5,922,452; ansic: 1,012,136; asm: 674,362; python: 191,568; objc: 73,855; f90: 42,327; lisp: 31,913; pascal: 11,973; javascript: 10,144; sh: 9,421; perl: 7,447; ml: 5,527; awk: 3,523; makefile: 2,520; xml: 885; cs: 573; fortran: 567
file content (43 lines) | stat: -rw-r--r-- 1,715 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
## Don't make symlinks on Windows.
# UNSUPPORTED: system-windows

# RUN: rm -rf %t
# RUN: mkdir %t

# RUN: ln -s llvm-objcopy %t/llvm-objcopy-11.exe
# RUN: ln -s llvm-objcopy %t/powerpc64-unknown-freebsd13-objcopy

# RUN: llvm-objcopy --help | FileCheck --check-prefix=OBJCOPY %s
# RUN: %t/llvm-objcopy-11.exe --help | FileCheck --check-prefix=OBJCOPY %s
# RUN: %t/powerpc64-unknown-freebsd13-objcopy --help | FileCheck --check-prefix=OBJCOPY %s

# OBJCOPY: OVERVIEW: llvm-objcopy tool

# RUN: ln -s llvm-strip %t/strip.exe
# RUN: ln -s llvm-strip %t/gnu-llvm-strip-10

# RUN: llvm-strip --help | FileCheck --check-prefix=STRIP %s
# RUN: %t/strip.exe --help | FileCheck --check-prefix=STRIP %s
# RUN: %t/gnu-llvm-strip-10 --help | FileCheck --check-prefix=STRIP %s

# STRIP: OVERVIEW: llvm-strip tool

## This driver emulates install_name_tool on macOS.
# RUN: ln -s llvm-install-name-tool %t/llvm-install-name-tool-10
# RUN: ln -s llvm-install-name-tool %t/install_name_tool.exe

# RUN: llvm-install-name-tool --help | FileCheck --check-prefix=INSTALL %s
# RUN: %t/llvm-install-name-tool-10 --help | FileCheck --check-prefix=INSTALL %s
# RUN: %t/install_name_tool.exe --help | FileCheck --check-prefix=INSTALL %s

# INSTALL: OVERVIEW: llvm-install-name-tool tool

## This driver emulates bitcode_strip on macOS.
# RUN: ln -s llvm-bitcode-strip %t/llvm-bitcode-strip-10
# RUN: ln -s llvm-bitcode-strip %t/bitcode_strip.exe

# RUN: llvm-bitcode-strip --help | FileCheck --check-prefix=BITCODE-STRIP %s
# RUN: %t/llvm-bitcode-strip-10 --help | FileCheck --check-prefix=BITCODE-STRIP %s
# RUN: %t/bitcode_strip.exe --help | FileCheck --check-prefix=BITCODE-STRIP %s

# BITCODE-STRIP: OVERVIEW: llvm-bitcode-strip tool