Use c++14 instead of c++17 in the tests

pull/4939/head
Daniel Mensinger 6 years ago
parent 9e247cb52e
commit 16b6b2d411
No known key found for this signature in database
GPG Key ID: 54DD94C131E277D4
  1. 2
      run_unittests.py
  2. 2
      test cases/rewrite/3 kwargs/defopts_delete.json
  3. 2
      test cases/rewrite/3 kwargs/defopts_set.json
  4. 2
      test cases/rewrite/3 kwargs/remove_regex.json

@ -5348,7 +5348,7 @@ class RewriterTests(BasePlatformTests):
out = self.extract_test_data(out)
expected = {
'kwargs': {
'project#': {'version': '0.0.1', 'default_options': ['cpp_std=c++17', 'debug=true']},
'project#': {'version': '0.0.1', 'default_options': ['cpp_std=c++14', 'debug=true']},
'target#tgt1': {'build_by_default': True},
'dependency#dep1': {'required': False}
}

@ -5,7 +5,7 @@
"id": "",
"operation": "set",
"kwargs": {
"default_options": ["cpp_std=c++17", "buildtype=release", "debug=true"]
"default_options": ["cpp_std=c++14", "buildtype=release", "debug=true"]
}
},
{

@ -3,7 +3,7 @@
"type": "default_options",
"operation": "set",
"options": {
"cpp_std": "c++17"
"cpp_std": "c++14"
}
},
{

@ -5,7 +5,7 @@
"id": "",
"operation": "set",
"kwargs": {
"default_options": ["cpp_std=c++17", "buildtype=release", "debug=true"]
"default_options": ["cpp_std=c++14", "buildtype=release", "debug=true"]
}
},
{

Loading…
Cancel
Save