Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Unix.gettimeofday rather than Unix.time #286

Merged
merged 3 commits into from
Jan 18, 2021

Conversation

craigfe
Copy link
Member

@craigfe craigfe commented Jan 17, 2021

We print the duration of test suites to millisecond precision, so we should be using a time source with at least that precision.

It'd be more correct to use mtime, but this doesn't yet support Windows.

We print the duration of test suites to millisecond precision, so we
should be using a time source with at least that precision.
@craigfe craigfe merged commit 4819395 into mirage:master Jan 18, 2021
craigfe added a commit to craigfe/opam-repository that referenced this pull request Feb 16, 2021
…lwt (1.3.0)

CHANGES:

- Add `Alcotest.triple` for testing 3-tuples. (mirage/alcotest#288, @sheepduke)

- Correctly report test suite duration with millisecond precision. (mirage/alcotest#286,
  @craigfe)

- Improve pretty-printing of results to consider the terminal width, fixing
  several display issues due to line wrapping in small terminals. (mirage/alcotest#282,
  @craigfe)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant