Skip to content

Commit

Permalink
debug NLT
Browse files Browse the repository at this point in the history
Signed-off-by: Michael MacDonald <[email protected]>
  • Loading branch information
mjmac committed Jan 13, 2025
1 parent 64491e0 commit 5f28018
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions utils/node_local_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"""Node local test (NLT).
(C) Copyright 2020-2024 Intel Corporation.
(C) Copyright 2025 Google LLC
SPDX-License-Identifier: BSD-2-Clause-Patent
Expand Down Expand Up @@ -5588,6 +5589,8 @@ def __init__(self, aft, cmd, env, loc, cwd):
delete=False) as log_file:
self.log_file = log_file.name
self._env['D_LOG_FILE'] = self.log_file
with open(log_file.name, 'w', encoding='utf-8') as lf:
lf.write(f'cmd: {" ".join(cmd)}\n')

def __str__(self):
cmd_text = ' '.join(self._cmd)
Expand Down

0 comments on commit 5f28018

Please sign in to comment.