From 185029ee5f93bbe9c9170eb91e2f5bfa8c3d8849 Mon Sep 17 00:00:00 2001 From: Matt Brubeck Date: Thu, 28 Mar 2013 15:47:21 -0700 Subject: [PATCH] Bug 855709 - Fix error in mach mochitest commands when objdir is a relative path [r=gps] --- testing/mochitest/mach_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/mochitest/mach_commands.py b/testing/mochitest/mach_commands.py index 6469e3d9fec..b2ca133fc75 100644 --- a/testing/mochitest/mach_commands.py +++ b/testing/mochitest/mach_commands.py @@ -61,7 +61,7 @@ class MochitestRunner(MozbuildObject): if test_file: test_path = self._wrap_path_argument(test_file).relpath() - tests_dir = os.path.join(self.topobjdir, '_tests') + tests_dir = os.path.abspath(os.path.join(self.topobjdir, '_tests')) mochitest_dir = os.path.join(tests_dir, 'testing', 'mochitest') failure_file_path = os.path.join(self.statedir, 'mochitest_failures.json')