From da270a8b9fa2a8f19c2f56de8ccbba4d576d9326 Mon Sep 17 00:00:00 2001 From: Mats Wichmann Date: Sun, 6 Aug 2023 13:14:16 -0600 Subject: SConscript must_exist test: fix Windows Make the path to the missing script in expected errors be OS-independent to avoid Windows failing on wrong path separator Signed-off-by: Mats Wichmann --- test/SConscript/must_exist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/SConscript/must_exist.py b/test/SConscript/must_exist.py index 52b3e45..85b2438 100644 --- a/test/SConscript/must_exist.py +++ b/test/SConscript/must_exist.py @@ -88,7 +88,7 @@ except UserError as e: """, ) -missing = "missing/SConscript" +missing = os.path.join("missing", "SConscript") err1 = f""" scons: *** Fatal: missing SConscript {missing!r} """ + test.python_file_line( -- cgit v0.12