summaryrefslogtreecommitdiff
path: root/scripts/test
diff options
context:
space:
mode:
authorDaniel Wirtz <dcode@dcode.io>2020-09-07 06:21:09 +0200
committerGitHub <noreply@github.com>2020-09-06 21:21:09 -0700
commit775363a98002a14c64bdc4f8d591c6f37b1e1604 (patch)
tree8242313bccf7e8ace43d6aae021f3f6613a5d0c2 /scripts/test
parent8b436ba3046deb69e5b736a6cef003b8b0dde0c0 (diff)
downloadbinaryen-775363a98002a14c64bdc4f8d591c6f37b1e1604.tar.gz
binaryen-775363a98002a14c64bdc4f8d591c6f37b1e1604.tar.bz2
binaryen-775363a98002a14c64bdc4f8d591c6f37b1e1604.zip
Upgrade to C++17 (#3103)
Diffstat (limited to 'scripts/test')
-rw-r--r--scripts/test/shared.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/test/shared.py b/scripts/test/shared.py
index 9cea0e406..fac64c5d2 100644
--- a/scripts/test/shared.py
+++ b/scripts/test/shared.py
@@ -23,6 +23,10 @@ import shutil
import subprocess
import sys
+# The C++ standard whose features are required to build Binaryen.
+# Keep in sync with CMakeLists.txt CXX_STANDARD
+cxx_standard = 17
+
def parse_args(args):
usage_str = ("usage: 'python check.py [options]'\n\n"