aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2016-01-04 08:18:43 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2016-01-04 08:18:43 -0800
commitab23045414dbe120fa307b8c07ca6f3f73b3dbe5 (patch)
treeaae0388c675f3a2bd046f0bb1ba90b93b8ef0b24 /tools
parentb121d44dc657967ad97d68aed48c108b416cc57d (diff)
Add a test that public headers compile as C99
Diffstat (limited to 'tools')
-rw-r--r--tools/run_tests/sources_and_headers.json12
-rw-r--r--tools/run_tests/tests.json19
2 files changed, 31 insertions, 0 deletions
diff --git a/tools/run_tests/sources_and_headers.json b/tools/run_tests/sources_and_headers.json
index 75debf41bb..74a1fac902 100644
--- a/tools/run_tests/sources_and_headers.json
+++ b/tools/run_tests/sources_and_headers.json
@@ -2030,6 +2030,18 @@
},
{
"deps": [
+ "gpr",
+ "grpc"
+ ],
+ "headers": [],
+ "language": "c89",
+ "name": "public_headers_must_be_c89",
+ "src": [
+ "test/core/surface/public_headers_must_be_c89.c"
+ ]
+ },
+ {
+ "deps": [
"end2end_certs",
"end2end_fixture_h2_census",
"end2end_tests",
diff --git a/tools/run_tests/tests.json b/tools/run_tests/tests.json
index 0b5f847af1..d4839e235f 100644
--- a/tools/run_tests/tests.json
+++ b/tools/run_tests/tests.json
@@ -2068,6 +2068,25 @@
],
"exclude_configs": [],
"flaky": false,
+ "language": "c89",
+ "name": "public_headers_must_be_c89",
+ "platforms": [
+ "linux",
+ "mac",
+ "posix",
+ "windows"
+ ]
+ },
+ {
+ "args": [],
+ "ci_platforms": [
+ "linux",
+ "mac",
+ "posix",
+ "windows"
+ ],
+ "exclude_configs": [],
+ "flaky": false,
"language": "c",
"name": "badreq_bad_client_test",
"platforms": [