Skip to content

Commit cf7f3af

Browse files
committed
Debug env vars
1 parent 036fd59 commit cf7f3af

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

tests/runfiles/bin_with_runfiles_test.py

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ class RunfilesTest(unittest.TestCase):
2222
"""Unit tests for `rules_python.python.runfiles.Runfiles`."""
2323

2424
def testCreatesDirectoryBasedRunfiles(self) -> None:
25+
print(os.environ)
2526
r = runfiles.Create()
2627
repo = r.CurrentRepository() or "_main"
2728
bin_location = r.Rlocation(os.path.join(repo,"tests/runfiles/bin_with_runfiles_test.py"))

tests/runfiles/run_binary_with_runfiles_test.sh

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ fi
3434
unset RUNFILES_MANIFEST_FILE
3535
unset RUNFILES_DIR
3636

37+
env | sort
38+
3739
# Fail if tests fail
3840
set -e
3941
${bin}

0 commit comments

Comments
 (0)