James Henderson | f23ce12 | 2019-08-12 11:36:11 +0000 | [diff] [blame] | 1 | ## 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 | |
| 5 | RUN: echo abcd > %t1 |
| 6 | RUN: echo 1234 >> %t1 |
| 7 | RUN: echo defg > %t2 |
| 8 | RUN: llvm-strings --print-file-name --radix=d %t1 %t2 \ |
| 9 | RUN: | FileCheck %s -DFILE1=%t1 -DFILE2=%t2 --implicit-check-not={{.}} |
| 10 | |
| 11 | CHECK: [[FILE1]]: 0 abcd |
| 12 | CHECK-NEXT: [[FILE1]]: 5 1234 |
| 13 | CHECK-NEXT: [[FILE2]]: 0 defg |