From 018f6c16489060c3c0c9c5a86a03c5e157008428 Mon Sep 17 00:00:00 2001 From: Kurt Biery Date: Tue, 24 Mar 2026 19:01:23 +0100 Subject: [PATCH] Added text to the 'skipped' message in the sample_ehn1_multihost_test.py to help the user know how to set the PYTEST_DEBUG_TEMPROOT env var. --- integtest/sample_ehn1_multihost_test.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/integtest/sample_ehn1_multihost_test.py b/integtest/sample_ehn1_multihost_test.py index 8031b90..7861c6b 100644 --- a/integtest/sample_ehn1_multihost_test.py +++ b/integtest/sample_ehn1_multihost_test.py @@ -305,6 +305,10 @@ def test_dunerc_success(run_dunerc, capsys): if not pytest_tmpdir_looks_reasonable: with capsys.disabled(): print("\n\n\N{LARGE YELLOW CIRCLE} The PYTEST_DEBUG_TEMPROOT env var has not been set to point to a valid directory.") + print("\N{LARGE YELLOW CIRCLE} This is needed for this integtest to run.") + print("\N{LARGE YELLOW CIRCLE} Suggested steps: 'mkdir -p $HOME/dunedaq/scratch; export PYTEST_DEBUG_TEMPROOT=$HOME/dunedaq/scratch'") + print("\N{LARGE YELLOW CIRCLE} And you may want to consider 'unset PYTEST_DEBUG_TEMPROOT' after running the test.") + print("\N{LARGE YELLOW CIRCLE} Please see the comments at the top of this integtest for more information.") pytest.skip("The PYTEST_DEBUG_TEMPROOT env var has not been set to point to a valid directory.") with capsys.disabled():