Enable asan for C core

Also speed up a test, and disable some rarely touched but long running tests
pull/886/head
Craig Tiller 10 years ago
parent 6727428f96
commit f5065c5b65
  1. 3
      .travis.yml
  2. 6
      build.json
  3. 2
      templates/Makefile.template
  4. 2
      test/core/transport/chttp2/stream_map_test.c
  5. 4
      tools/run_tests/tests.json

@ -11,9 +11,6 @@ env:
- CONFIG=dbg TEST=c - CONFIG=dbg TEST=c
- CONFIG=dbg TEST=c++ - CONFIG=dbg TEST=c++
- CONFIG=asan TEST=c - CONFIG=asan TEST=c
- CONFIG=asan TEST=c++
- CONFIG=tsan TEST=c
- CONFIG=tsan TEST=c++
- CONFIG=opt TEST=c - CONFIG=opt TEST=c
- CONFIG=opt TEST=c++ - CONFIG=opt TEST=c++
- CONFIG=opt TEST=node - CONFIG=opt TEST=node

@ -582,7 +582,8 @@
"grpc", "grpc",
"gpr_test_util", "gpr_test_util",
"gpr" "gpr"
] ],
"flaky": true
}, },
{ {
"name": "census_statistics_multiple_writers_test", "name": "census_statistics_multiple_writers_test",
@ -638,7 +639,8 @@
"grpc", "grpc",
"gpr_test_util", "gpr_test_util",
"gpr" "gpr"
] ],
"flaky": true
}, },
{ {
"name": "census_stats_store_test", "name": "census_stats_store_test",

@ -196,7 +196,7 @@ DEFINES += $(DEFINES_$(CONFIG)) INSTALL_PREFIX=\"$(prefix)\"
LDFLAGS += $(LDFLAGS_$(CONFIG)) LDFLAGS += $(LDFLAGS_$(CONFIG))
ifdef EXTRA_DEFINES ifdef EXTRA_DEFINES
DEFINES += EXTRA_DEFINES DEFINES += $(EXTRA_DEFINES)
endif endif
CFLAGS += -std=c89 -pedantic CFLAGS += -std=c89 -pedantic

@ -213,7 +213,7 @@ int main(int argc, char **argv) {
test_empty_find(); test_empty_find();
test_double_deletion(); test_double_deletion();
while (n < 10000000) { while (n < 100000) {
test_basic_add_find(n); test_basic_add_find(n);
test_delete_evens_sweep(n); test_delete_evens_sweep(n);
test_delete_evens_incremental(n); test_delete_evens_incremental(n);

@ -32,7 +32,7 @@
"name": "census_hash_table_test" "name": "census_hash_table_test"
}, },
{ {
"flaky": false, "flaky": true,
"language": "c", "language": "c",
"name": "census_statistics_multiple_writers_circular_buffer_test" "name": "census_statistics_multiple_writers_circular_buffer_test"
}, },
@ -52,7 +52,7 @@
"name": "census_statistics_quick_test" "name": "census_statistics_quick_test"
}, },
{ {
"flaky": false, "flaky": true,
"language": "c", "language": "c",
"name": "census_statistics_small_log_test" "name": "census_statistics_small_log_test"
}, },

Loading…
Cancel
Save