blob: 8eeeebfc4898e0fbc3862c04a04f22ffbb1b8650 [file] [log] [blame]
James Hendersonf23ce122019-08-12 11:36:11 +00001## Show that llvm-strings reads every file specified on the command-line.
2## This test uses --print-file-name and --radix to show that the values are
3## updated for the second file.
4
5RUN: echo abcd > %t1
6RUN: echo 1234 >> %t1
7RUN: echo defg > %t2
8RUN: llvm-strings --print-file-name --radix=d %t1 %t2 \
9RUN: | FileCheck %s -DFILE1=%t1 -DFILE2=%t2 --implicit-check-not={{.}}
10
11CHECK: [[FILE1]]: 0 abcd
12CHECK-NEXT: [[FILE1]]: 5 1234
13CHECK-NEXT: [[FILE2]]: 0 defg