summaryrefslogtreecommitdiff
path: root/auto_update_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'auto_update_tests.py')
-rwxr-xr-xauto_update_tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/auto_update_tests.py b/auto_update_tests.py
index 10481cab5..050dab1d1 100755
--- a/auto_update_tests.py
+++ b/auto_update_tests.py
@@ -184,6 +184,8 @@ for t in sorted(os.listdir(os.path.join('test', 'example'))):
src, '-c', '-o', 'example.o',
'-Isrc', '-g', '-L' + libdir, '-pthread']
print 'build: ', ' '.join(extra)
+ if src.endswith('.cpp'):
+ extra += ['-std=c++11']
print os.getcwd()
subprocess.check_call(extra)
# Link against the binaryen C library DSO, using rpath