xref: /llvm-project/llvm/utils/lit/tests/Inputs/per-test-coverage/per-test-coverage.py (revision 64d19542e78a43edb7ae26ea6762a2b1c360a916)
1# Check that the environment variable is set correctly
2# RUN: %{python} %s | FileCheck %s
3
4# Python script to read the environment variable
5# and print its value
6import os
7
8llvm_profile_file = os.environ.get('LLVM_PROFILE_FILE')
9print(llvm_profile_file)
10
11# CHECK: per-test-coverage0.profraw
12