[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] maint.mk: generate more concise timing data for syntax-check rul
From: |
Jim Meyering |
Subject: |
[PATCH] maint.mk: generate more concise timing data for syntax-check rules |
Date: |
Mon, 12 Apr 2010 22:18:13 +0200 |
FYI, before sytnax-check timing data were more verbose:
4.06: sc_trailing_blank done
now they look like this:
4.06 trailing_blank
>From 24cd93edf4333d19223a9d02af5ad9d3394e6755 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Mon, 12 Apr 2010 22:15:19 +0200
Subject: [PATCH] maint.mk: generate more concise timing data for syntax-check
rules
* top/maint.mk ($(sc_z_rules_)): Remove the ":", "sc_" prefix and
" done" from each line that reports a syntax-check test duration.
---
ChangeLog | 6 ++++++
top/maint.mk | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 73c6e30..d5c71a3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-04-12 Jim Meyering <address@hidden>
+
+ maint.mk: generate more concise timing data for syntax-check rules
+ * top/maint.mk ($(sc_z_rules_)): Remove the ":", "sc_" prefix and
+ " done" from each line that reports a syntax-check test duration.
+
2010-04-12 Andreas Gruenbacher <address@hidden>
git-version-gen: use "git update-index..." rather than "git status"
diff --git a/top/maint.mk b/top/maint.mk
index c663bce..6942730 100644
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -139,7 +139,7 @@ $(sc_z_rules_): %.z: %
start=$$(cat .sc-start-$*); \
rm -f .sc-start-$*; \
awk -v s=$$start -v e=$$end \
- 'END {printf "%.2f: $* done\n", e - s}' < /dev/null
+ 'END {printf "%.2f $(patsubst sc_%,%,$*)\n", e - s}' < /dev/null
# The patsubst here is to replace each sc_% rule with its sc_%.z wrapper
# that computes and prints elapsed time.
--
1.7.1.rc1.237.ge1730
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] maint.mk: generate more concise timing data for syntax-check rules,
Jim Meyering <=