Skip to content

Commit

Permalink
more debug
Browse files Browse the repository at this point in the history
  • Loading branch information
robnagler committed Jan 18, 2025
1 parent 39f48cb commit 7f1d600
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion pykern/pksubprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ def wait_pid():
env=env,
)
pid = p.pid
msg = pkdlog
if msg:
msg("{}: started: {}", pid, cmd)
s = wait_pid()
Expand Down
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
set -euo pipefail

_main() {
PYKERN_PKCLI_TEST_MAX_PROCS=4 pykern ci run
PYKERN_PKDEBUG_WANT_PID_TIME=1 PYKERN_PKCLI_TEST_MAX_PROCS=4 pykern ci run
}

_main "$@"
1 change: 1 addition & 0 deletions tests/pksubprocess_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def test_check_call_with_signals():

def msg(*args):
s = args[0]
pkdebug.pkdlog(s.format(*args[1:]))
messages.append(s.format(*args[1:]))

signals = []
Expand Down

0 comments on commit 7f1d600

Please sign in to comment.