add a test description for each test

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

Commit Message

Daniel Lezcano Aug. 11, 2011, 3:05 p.m.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 cpufreq/Makefile       |    2 ++
 cpufreq/cpufreq_01.txt |    1 +
 cpufreq/cpufreq_02.txt |    1 +
 cpufreq/cpufreq_03.txt |    1 +
 cpufreq/cpufreq_04.txt |    1 +
 cpufreq/cpufreq_05.txt |    1 +
 cpufreq/cpufreq_06.txt |    1 +
 cpufreq/cpufreq_07.txt |    1 +
 cpufreq/cpufreq_08.txt |    1 +
 cpufreq/cpufreq_09.txt |    1 +
 sched_mc/Makefile      |    2 ++
 sched_mc/sched_01.txt  |    1 +
 sched_mc/sched_02.txt  |    1 +
 sched_mc/sched_03.txt  |    1 +
 sched_mc/sched_04.txt  |    1 +
 15 files changed, 17 insertions(+), 0 deletions(-)
 create mode 100644 cpufreq/cpufreq_01.txt
 create mode 100644 cpufreq/cpufreq_02.txt
 create mode 100644 cpufreq/cpufreq_03.txt
 create mode 100644 cpufreq/cpufreq_04.txt
 create mode 100644 cpufreq/cpufreq_05.txt
 create mode 100644 cpufreq/cpufreq_06.txt
 create mode 100644 cpufreq/cpufreq_07.txt
 create mode 100644 cpufreq/cpufreq_08.txt
 create mode 100644 cpufreq/cpufreq_09.txt
 create mode 100644 sched_mc/sched_01.txt
 create mode 100644 sched_mc/sched_02.txt
 create mode 100644 sched_mc/sched_03.txt
 create mode 100644 sched_mc/sched_04.txt

Patch

diff --git a/cpufreq/Makefile b/cpufreq/Makefile
index f52a1f4..9c9133e 100644
--- a/cpufreq/Makefile
+++ b/cpufreq/Makefile
@@ -28,6 +28,8 @@  LOG=$(TST:.sh=.log)
 check: uncheck $(LOG)
 
 %.log: %.sh
+	@echo -e "###\n### $(<:.sh=):"
+	@echo -n "### "; cat $(<:.sh=.txt); echo "###"
 	@./$< 2> $@
 
 clean:
diff --git a/cpufreq/cpufreq_01.txt b/cpufreq/cpufreq_01.txt
new file mode 100644
index 0000000..c40a620
--- /dev/null
+++ b/cpufreq/cpufreq_01.txt
@@ -0,0 +1 @@ 
+test the cpufreq framework is available for frequency
diff --git a/cpufreq/cpufreq_02.txt b/cpufreq/cpufreq_02.txt
new file mode 100644
index 0000000..4123148
--- /dev/null
+++ b/cpufreq/cpufreq_02.txt
@@ -0,0 +1 @@ 
+test the cpufreq framework is available for governor
diff --git a/cpufreq/cpufreq_03.txt b/cpufreq/cpufreq_03.txt
new file mode 100644
index 0000000..a979614
--- /dev/null
+++ b/cpufreq/cpufreq_03.txt
@@ -0,0 +1 @@ 
+test the governor change is effective
diff --git a/cpufreq/cpufreq_04.txt b/cpufreq/cpufreq_04.txt
new file mode 100644
index 0000000..0d70931
--- /dev/null
+++ b/cpufreq/cpufreq_04.txt
@@ -0,0 +1 @@ 
+test the change of the frequency is effective in 'userspace' mode
diff --git a/cpufreq/cpufreq_05.txt b/cpufreq/cpufreq_05.txt
new file mode 100644
index 0000000..37e6061
--- /dev/null
+++ b/cpufreq/cpufreq_05.txt
@@ -0,0 +1 @@ 
+test 'ondemand' and 'conservative' trigger correctly the configuration directory
diff --git a/cpufreq/cpufreq_06.txt b/cpufreq/cpufreq_06.txt
new file mode 100644
index 0000000..c3e41cb
--- /dev/null
+++ b/cpufreq/cpufreq_06.txt
@@ -0,0 +1 @@ 
+test the change of the frequencies affect the performances of a test program
diff --git a/cpufreq/cpufreq_07.txt b/cpufreq/cpufreq_07.txt
new file mode 100644
index 0000000..805173b
--- /dev/null
+++ b/cpufreq/cpufreq_07.txt
@@ -0,0 +1 @@ 
+test the load of the cpu affects the frequency with 'ondemand'
diff --git a/cpufreq/cpufreq_08.txt b/cpufreq/cpufreq_08.txt
new file mode 100644
index 0000000..2a218e2
--- /dev/null
+++ b/cpufreq/cpufreq_08.txt
@@ -0,0 +1 @@ 
+test the load of the cpu does not affect the frequency with 'userspace'
diff --git a/cpufreq/cpufreq_09.txt b/cpufreq/cpufreq_09.txt
new file mode 100644
index 0000000..547749b
--- /dev/null
+++ b/cpufreq/cpufreq_09.txt
@@ -0,0 +1 @@ 
+test the load of the cpu does not affect the frequency with 'powersave'
diff --git a/sched_mc/Makefile b/sched_mc/Makefile
index f52a1f4..9c9133e 100644
--- a/sched_mc/Makefile
+++ b/sched_mc/Makefile
@@ -28,6 +28,8 @@  LOG=$(TST:.sh=.log)
 check: uncheck $(LOG)
 
 %.log: %.sh
+	@echo -e "###\n### $(<:.sh=):"
+	@echo -n "### "; cat $(<:.sh=.txt); echo "###"
 	@./$< 2> $@
 
 clean:
diff --git a/sched_mc/sched_01.txt b/sched_mc/sched_01.txt
new file mode 100644
index 0000000..6783a3a
--- /dev/null
+++ b/sched_mc/sched_01.txt
@@ -0,0 +1 @@ 
+test the presence of the 'sched_mc_power_savings' file
diff --git a/sched_mc/sched_02.txt b/sched_mc/sched_02.txt
new file mode 100644
index 0000000..5493610
--- /dev/null
+++ b/sched_mc/sched_02.txt
@@ -0,0 +1 @@ 
+test the topology is implemented in the kernel
diff --git a/sched_mc/sched_03.txt b/sched_mc/sched_03.txt
new file mode 100644
index 0000000..b9e8d6f
--- /dev/null
+++ b/sched_mc/sched_03.txt
@@ -0,0 +1 @@ 
+test the topology files are present
diff --git a/sched_mc/sched_04.txt b/sched_mc/sched_04.txt
new file mode 100644
index 0000000..7f5ed4a
--- /dev/null
+++ b/sched_mc/sched_04.txt
@@ -0,0 +1 @@ 
+test the change are effective for the 'sched_mc_power_savings' file