aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <azakai@mozilla.com>2011-02-13 09:50:08 -0800
committerAlon Zakai <azakai@mozilla.com>2011-02-13 09:50:08 -0800
commit4c884d8526826ee15ba4475b7bc0c9acb4c609bb (patch)
tree14cc59c34ce4a9f6285bf478bf8048d83233a3fd /tests/runner.py
parent93d0b2f1d4ce34d68e1bd97e38414488bf937891 (diff)
debugging fixes
Diffstat (limited to 'tests/runner.py')
-rw-r--r--tests/runner.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 1e6ef8d6..847ef9e6 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -1552,8 +1552,9 @@ if 'benchmark' not in sys.argv:
os.chdir(ft_dir)
env = os.environ.copy()
env['RANLIB'] = env['AR'] = env['CXX'] = env['CC'] = EMMAKEN
+ env['CFLAGS'] = '%s' % ' '.join(COMPILER_OPTS)
env['EMMAKEN_COMPILER'] = COMPILER
- output = Popen(['./configure'], stdout=PIPE, stderr=STDOUT, env=env).communicate()[0]
+ Popen(['./configure'], stdout=PIPE, stderr=STDOUT, env=env).communicate()[0]
Popen(['make', '-j', '2'] + make_args, stdout=PIPE, stderr=STDOUT, env=env).communicate()[0]
bc_file = os.path.join(ft_dir, generated_lib)
shutil.copyfile(bc_file, bc_file + '.bc')