aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEhsan Akhgari <ehsan.akhgari@gmail.com>2012-01-31 14:13:18 -0500
committerEhsan Akhgari <ehsan.akhgari@gmail.com>2012-01-31 14:13:18 -0500
commitfddfd311e7eb5ddb67e4427bd1e71a5876938d4a (patch)
treeac05839cff5fbac19d4e6e9a6cec749202fc699e
parentbd4d0e4d5a4ba65b3e6e8d320485b996cf631536 (diff)
parentd48cba10976ff7665fb39768ca251c8f08e1bbe8 (diff)
Merge branch 'import_shared_properly' into test_poppler
-rwxr-xr-xtests/runner.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index dd35f73c..fa4da081 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -22,6 +22,7 @@ __rootpath__ = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
def path_from_root(*pathelems):
return os.path.join(__rootpath__, *pathelems)
sys.path += [path_from_root('')]
+import tools.shared
from tools.shared import *
# Sanity check for config
@@ -40,7 +41,9 @@ class RunnerCore(unittest.TestCase):
# Change this to None to get stderr reporting, for debugging purposes
def setUp(self):
+ global Settings
Settings.reset()
+ Settings = tools.shared.Settings
self.banned_js_engines = []
if not self.save_dir:
dirname = tempfile.mkdtemp(prefix='emscripten_test_' + self.__class__.__name__ + '_', dir=TEMP_DIR)