From f47280547b011d6c7f2937f9eb0693cb090ab797 Mon Sep 17 00:00:00 2001 From: Ralph Lange Date: Thu, 9 Mar 2023 09:40:45 +0000 Subject: [PATCH] Fix unit tests to allow shlex.split() on EXTRA* --- cue-test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cue-test.py b/cue-test.py index 4f82c33..b0edbcf 100644 --- a/cue-test.py +++ b/cue-test.py @@ -841,7 +841,7 @@ class TestSetupForBuild(unittest.TestCase): def test_ExtraMakeArgs(self): os.environ['EXTRA'] = 'bla' for ind in range(1,5): - os.environ['EXTRA{0}'.format(ind)] = 'bla {0}'.format(ind) + os.environ['EXTRA{0}'.format(ind)] = '"bla {0}"'.format(ind) cue.setup_for_build(self.args) self.assertTrue(cue.extra_makeargs[0] == 'bla', 'Extra make arg [0] not set') for ind in range(1,5):