Debian Codegraph @

llvm/utils/lit/tests/Inputs/per-test-coverage-by-lit-cfg/per-test-coverage-by-lit-cfg.py

raw
1 # Check that the environment variable is set correctly
2 # RUN: %{python} %s | FileCheck -DINDEX=1 %s
3 # RUN: %{python} %s | FileCheck -DINDEX=2 %s
4
5 # Python script to read the environment variable
6 # and print its value
7 import os
8
9 llvm_profile_file = os.environ.get('LLVM_PROFILE_FILE')
10 print(llvm_profile_file)
11
12 # CHECK: per-test-coverage-by-lit-cfg[[INDEX]].profraw