From 5b01825cbd553237e2588fc569f778d9b3c4e649 Mon Sep 17 00:00:00 2001 From: Krisztian Litkey Date: Wed, 5 Mar 2025 17:53:31 +0200 Subject: [PATCH] topology2qemuopts: interpret unset SEPARATED_OUTPUT_VARS as 0. Don't require SEPARATED_OUTPUT_VARS to be set in the environment. Interpret unset one as 0. Signed-off-by: Krisztian Litkey --- test/e2e/lib/topology2qemuopts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/lib/topology2qemuopts.py b/test/e2e/lib/topology2qemuopts.py index f737b535f..b342b6203 100755 --- a/test/e2e/lib/topology2qemuopts.py +++ b/test/e2e/lib/topology2qemuopts.py @@ -86,7 +86,7 @@ DEFAULT_DIST_SAME_DIE = 11 DEFAULT_DIST_SAME_NODE = 10 -separated_output_vars = (os.environ['SEPARATED_OUTPUT_VARS'] == '1') +separated_output_vars = (os.getenv('SEPARATED_OUTPUT_VARS', 0) == '1') def error(msg, exitstatus=1): sys.stderr.write("topology2qemuopts: %s\n" % (msg,))