Commit Graph

49 Commits

Author SHA1 Message Date
Joseph Birr-Pixton 6f252aa812 Fix coverage: output binaries have moved in nightly 2020-06-08 21:23:50 +01:00
Joseph Birr-Pixton cb397f0e15 Test detection of truncated handshake messages 2020-05-08 16:55:34 +01:00
Joseph Birr-Pixton b2fa83cada Fix coverage build
Upstream removed -Zno-landing-pads; unfortunately there's still
no better coverage tooling.

Fortunately -Cpanic=abort is now feasible for tests thanks to
-Zpanic-abort-tests.
2020-05-03 11:34:02 +01:00
Joseph Birr-Pixton d132d48a23 Work around bug in cargo workspaces
To me, it's intuitive that `cargo test --no-default-features`
should run the tests for all subcrates in a workspace, building
each subcrate without its default features.

In fact, this doesn't work and has never worked.  And now it's
explicitly rejected in nightly.

Tracked upstream as rust-lang/cargo#4753
2019-10-27 05:00:18 -07:00
Joseph Birr-Pixton f53300ff83 Assorted README/scripts fixes 2019-08-25 10:33:52 +01:00
Joseph Birr-Pixton 1d70e45af6 Move to using cargo workspaces
- rustls (the library) now lives in rustls/
- the mio examples/tests continue to live in rustls-mio, but
  are built by (eg) `cargo test` in the root of the repo.
2019-08-24 20:55:20 +01:00
Joseph Birr-Pixton 666a2cbd2a Update minimum rustc version to 1.36(!) 2019-07-22 21:21:19 +01:00
Joseph Birr-Pixton df8e45bf11 Tidy up bench-measure.mk 2019-07-03 21:30:42 +01:00
Joseph Birr-Pixton 6a47cd5cb4 Import rustup.yml and deal with preexisting rustup 2019-06-17 20:57:31 +01:00
Joseph Birr-Pixton 708b0a2ef7 Benchmark memory usage 2019-06-16 20:57:14 +01:00
Joseph Birr-Pixton 3e0e2e70d9 Benchmark TLS13 too 2019-06-01 18:03:39 +01:00
Joseph Birr-Pixton cbc4b2f0b6 Add azure minimal-versions checks 2019-05-27 18:26:31 +01:00
Joseph Birr-Pixton 3d33dd2bb0 Fix on lcov 1.14 2019-05-27 18:18:34 +01:00
Joseph Birr-Pixton a66884131e Fix path for benchmarks on Windows 2019-03-10 16:40:07 +00:00
Joseph Birr-Pixton 7597818244 Run bogo 2019-03-10 13:55:12 +00:00
Joseph Birr-Pixton 31e12febf8 Try codecov.io instead
- Temporarily remove branch coverage measurement
- Also install llvm & llvm-3.8
2019-03-10 13:54:56 +00:00
Joseph Birr-Pixton 1115857dfc Run coverage, mio tests, benchmarks 2019-03-09 15:43:27 +00:00
Joseph Birr-Pixton 2e9fd0441c add starter azure pipelines config 2019-03-08 21:41:02 +00:00
Joseph Birr-Pixton edf98927dc Split up mio-using examples/tests 2019-03-08 19:04:05 +00:00
Joseph Birr-Pixton aa401fbf25 Add logo 2018-06-03 12:37:32 +01:00
Joseph Birr-Pixton 13ad4dc122 Remove macros.rs from coverage
Recent nightly rustc wrongly generates 700 lines
of code in this file.
2018-05-12 22:10:54 +01:00
Joseph Birr-Pixton 605c58974b Disable CARGO_INCREMENTAL to fix coverage build 2018-03-12 23:20:12 +00:00
Joseph Birr-Pixton e8f5513efd Take more perf samples 2018-01-06 22:36:38 +00:00
Joseph Birr-Pixton 338f2874a8 don't work around cargo nightly bugs; use stable 2017-12-28 13:06:10 +00:00
Joseph Birr-Pixton 2405ab417f fix for cargo RUSTC_WRAPPER brokenness
(unfortunately won't fix coverage build; cargo nightly
is broken)
2017-12-28 11:45:50 +00:00
Joseph Birr-Pixton 1d96adaa70 Add benchmarking scripts 2017-11-26 12:29:29 +00:00
Joseph Birr-Pixton 1ad65d1621 More workarounds for travis CI 2017-09-10 18:19:05 +01:00
Joseph Birr-Pixton fb7020f961 travis: do coverage on nightly rust 2017-07-22 20:19:56 +01:00
Joseph Birr-Pixton d7ae542376 Accept inaccurate coverage for the time being 2017-07-22 19:12:42 +01:00
Joseph Birr-Pixton 63ad242efa Clean up coverage scripts 2017-07-19 20:46:11 +01:00
Joseph Birr-Pixton 27bf869d97 Deal with stapled OCSP responses from server 2017-06-29 20:33:25 +01:00
Joseph Birr-Pixton ee964da386 make message_test more sane 2017-06-18 14:16:16 +01:00
Joseph Birr-Pixton 03a5738c85 Only measure coverage of library source 2017-06-18 13:39:32 +01:00
Joseph Birr-Pixton a492e9300f Add some targetted tests 2017-06-18 13:39:15 +01:00
Joseph Birr-Pixton e7a54f60f2 Use lcov/llvm for coverage 2017-06-17 22:08:22 +01:00
Joseph Birr-Pixton 3fac54a6ea Move root stores into anchors.rs 2017-05-12 21:12:45 +01:00
Joseph Birr-Pixton 6ce4d758e8 Basic benchmark for webpki cert validation 2017-03-11 20:27:56 +00:00
Joseph Birr-Pixton 8e9a287e96 Go further back in kcov history 2017-02-17 19:42:23 +00:00
Joseph Birr-Pixton c248b76958 Use known-good version of kcov 2017-02-17 13:12:21 +00:00
Joseph Birr-Pixton 6c09bc5d0e Fix admin/format-bench for TLS1.3 2017-01-26 20:59:18 +00:00
Joseph Birr-Pixton a33ffdafda Run TryTLS tests 2016-10-08 19:27:35 +01:00
Joseph Birr-Pixton 44950b3a19 attach coveralls to travis 2016-09-25 13:45:34 +01:00
Joseph Birr-Pixton e5d47ce8b1 Fix coverage build on os-x
Squashed commit of the following:

commit 72ab42b890
Author: Joseph Birr-Pixton <jpixton@gmail.com>
Date:   Fri Sep 23 22:07:21 2016 +0100

    fix osx and leaving dangerous verify.rs around

commit f49bc6429f
Author: Joseph Birr-Pixton <jpixton@gmail.com>
Date:   Fri Sep 23 21:18:20 2016 +0100

    fix bogo instantiation

commit 047855a3c7
Author: Joseph Birr-Pixton <jpixton@gmail.com>
Date:   Fri Sep 23 21:09:56 2016 +0100

    don't use realpath, use readlink

commit e4a3e9bc50
Author: Joseph Birr-Pixton <jpixton@gmail.com>
Date:   Fri Sep 23 20:56:23 2016 +0100

    need coreutils
2016-09-23 22:28:28 +01:00
Joseph Birr-Pixton da7e810883 Coverage work: run tools perhaps through a wrapper 2016-09-23 20:38:08 +01:00
Joseph Birr-Pixton 6f9177daa8 Test and bench tickets 2016-09-20 00:00:23 +01:00
Joseph Birr-Pixton 6d101870ac script to update usage in readme 2016-09-11 17:52:51 +01:00
Joseph Birr-Pixton 0143be4aa3 Move to docs.rs for docs 2016-08-28 22:33:19 +01:00
Joseph Birr-Pixton d91d79895a add script to update README from main docs 2016-07-23 15:40:22 +01:00
Joseph Birr-Pixton b6a190a2cd Add a script to prepare gh-pages branch 2016-06-21 01:45:02 +01:00