diff --git a/testing/mochitest/runtests.py b/testing/mochitest/runtests.py index b4c99c23c9a5..8a55ed44d26c 100644 --- a/testing/mochitest/runtests.py +++ b/testing/mochitest/runtests.py @@ -358,7 +358,7 @@ See for details on the logg options.testingModulesDir = os.path.normpath(options.testingModulesDir) if not os.path.isabs(options.testingModulesDir): - options.testingModulesDir = os.path.abspath(testingModulesDir) + options.testingModulesDir = os.path.abspath(options.testingModulesDir) if not os.path.isdir(options.testingModulesDir): self.error('--testing-modules-dir not a directory: %s' %