[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] emacs: build-log: Improve regexp for the phase end.

From: Alex Kost
Subject: [PATCH] emacs: build-log: Improve regexp for the phase end.
Date: Thu, 24 Sep 2015 16:17:57 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

I've noticed that some¹ logs on hydra have lines like this one:

  phase `install-locale' succeeded after 0.0 seconds

while usually² it is:

  phase `install-locale' succeeded after 0 seconds

The attached patch handles this milliseconds case.

But I wonder why does it happen?  ‘gnu-build’ procedure from (guix build
gnu-build-system) module uses ‘gettimeofday’ to calculate these seconds.
And according to the manual (info "(guile) Time"): «whether true
microsecond resolution is available depends on the operating system».
But why both "0" and "0.0" can be met on hydra?


Attachment: 0001-emacs-build-log-Improve-regexp-for-the-phase-end.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]