diff --git a/scripts/integration_tests.py b/scripts/integration_tests.py index 88c70a2aa8..54dc17b75e 100755 --- a/scripts/integration_tests.py +++ b/scripts/integration_tests.py @@ -69,7 +69,7 @@ def runTest(name): stderr=subprocess.STDOUT, encoding="utf-8", env={ - "OPENMW_OSG_STATS_FILE": work_dir / f"{name}.{time_str}.osg_stats.log", + "OPENMW_OSG_STATS_FILE": str(work_dir / f"{name}.{time_str}.osg_stats.log"), "OPENMW_OSG_STATS_LIST": "times", **os.environ, },