brintos

brintos / llvm-project-archived public Read only

0
0
Text · 643 B · f2c46c9 Raw
16 lines · plain
1# This test verifies that llvm-profdata will do wildcard expansion on its2# arguments. The expansion is done by Windows-specific support in InitLLVM, so3# we only expect this to work on Windows hosts.4# REQUIRES: system-windows5 6# Create two files to glob.7RUN: echo '# empty profile 1' >  %t.prof1.proftxt8RUN: echo '# empty profile 2' >> %t.prof2.proftxt9 10# Prevent LIT itself from globbing by quoting the wildcard argument.11RUN: llvm-profdata merge "%t.*.proftxt" -dump-input-file-list -o /dev/null | FileCheck %s12 13# Verify that llvm-profdata expanded the wildcard argument.14CHECK: 1,{{.*}}.prof1.proftxt15CHECK-NEXT: 1,{{.*}}.prof2.proftxt16