aboutsummaryrefslogtreecommitdiff
path: root/tools/shared.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-10-21 12:08:44 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-10-21 12:08:44 -0700
commit8877d7308c2938aadac99619e8d8126fb9ed2d62 (patch)
tree4dd6c0b0b7f060cdaaa17f9e7333679b4a1b47f3 /tools/shared.py
parenteaed19a05ef3c9d04cd08691d1c8e5ec92ccf38d (diff)
refactor emscripten settings in test runner
Diffstat (limited to 'tools/shared.py')
-rw-r--r--tools/shared.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/shared.py b/tools/shared.py
index 076a9d17..133f09f0 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -204,3 +204,11 @@ def read_auto_optimize_data(filename):
'overflows_lines': overflows_lines
}
+# Settings
+
+class Dummy: pass
+
+Settings = Dummy() # A global singleton. Not pretty, but nicer than passing |, settings| everywhere
+Settings.save_dir = 0
+Settings.save_JS = 0
+