From 634040d4b5a0c406427a4b2fc683d25a47bd9538 Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 14 Feb 2019 15:15:45 +0000 Subject: [PATCH] Change working directory to script location for running functional tests --- util/test/run_tests.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/test/run_tests.py b/util/test/run_tests.py index 1910402ec..00a30d9e1 100644 --- a/util/test/run_tests.py +++ b/util/test/run_tests.py @@ -61,6 +61,8 @@ if args.pyrenderdoc is not None: sys.path.insert(0, os.path.realpath(os.path.dirname(__file__))) +os.chdir(sys.path[0]) + artifacts_dir = os.path.realpath(args.artifacts) try: