brintos

brintos / llvm-project-archived public Read only

0
0
Text · 723 B · 034bdd7 Raw
23 lines · plain
1# RUN: echo shared-substs-0.txt2 3# Make sure we don't see modifications that other shared-substs-*.txt have made4# to the test suite config's substitutions.5#6# RUN: %{global:echo}7 8# Next, modify substs that would affect the above.  Verify they are set locally.9#10# REDEFINE: %{global:what}=LOCAL0:World11# REDEFINE: %{global:greeting}=LOCAL0:Hello12# REDEFINE: %{global:echo}=echo LOCAL0: %{global:greeting} %{global:what}13# RUN: %{global:echo}14 15# Finally, set a local that other shared-substs-*.txt also set to be sure16# there's no redefinition complaint because they left it behind.  Verify it is17# set locally.18#19# DEFINE: %{local:echo}=echo LOCAL0: subst20# RUN: %{local:echo}21 22# CHECK: Passed: 1 {{\([0-9]*.[0-9]*%\)}}23