diff mbox

[pm-qa,1/2] display test description url

Message ID 1316699267-11536-1-git-send-email-daniel.lezcano@linaro.org
State Accepted
Headers show

Commit Message

Daniel Lezcano Sept. 22, 2011, 1:47 p.m. UTC
Extract the URL from the test header.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 cpufreq/Makefile  |    4 +++-
 sched_mc/Makefile |    4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/cpufreq/Makefile b/cpufreq/Makefile
index e9050e4..3c387db 100644
--- a/cpufreq/Makefile
+++ b/cpufreq/Makefile
@@ -30,7 +30,9 @@  check: uncheck $(LOG)
 %.log: %.sh
 	@echo "###"
 	@echo "### $(<:.sh=):"
-	@echo -n "### "; cat $(<:.sh=.txt); echo "###"
+	@echo -n "### "; cat $(<:.sh=.txt);
+	@echo -n "### "; grep "URL :" ./$< | awk '/http/{print $$NF}'
+	@echo "###"
 	@./$< 2> $@
 
 clean:
diff --git a/sched_mc/Makefile b/sched_mc/Makefile
index e9050e4..3c387db 100644
--- a/sched_mc/Makefile
+++ b/sched_mc/Makefile
@@ -30,7 +30,9 @@  check: uncheck $(LOG)
 %.log: %.sh
 	@echo "###"
 	@echo "### $(<:.sh=):"
-	@echo -n "### "; cat $(<:.sh=.txt); echo "###"
+	@echo -n "### "; cat $(<:.sh=.txt);
+	@echo -n "### "; grep "URL :" ./$< | awk '/http/{print $$NF}'
+	@echo "###"
 	@./$< 2> $@
 
 clean: