diff mbox

power_management: add TCID

Message ID 1381737758-10516-1-git-send-email-riku.voipio@linaro.org
State Superseded
Headers show

Commit Message

Riku Voipio Oct. 14, 2013, 8:02 a.m. UTC
get_sched_values.c uses interfaces provided by -lltp which need
TCID defined. Not sure how this built successfully before.

Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
---
 testcases/kernel/power_management/get_sched_values.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Wanlong Gao Oct. 14, 2013, 8:29 a.m. UTC | #1
On 10/14/2013 04:02 PM, Riku Voipio wrote:
> get_sched_values.c uses interfaces provided by -lltp which need
> TCID defined. Not sure how this built successfully before.
> 
> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
> ---
>  testcases/kernel/power_management/get_sched_values.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/testcases/kernel/power_management/get_sched_values.c b/testcases/kernel/power_management/get_sched_values.c
> index 08260d5..b9d0156 100644
> --- a/testcases/kernel/power_management/get_sched_values.c
> +++ b/testcases/kernel/power_management/get_sched_values.c
> @@ -17,6 +17,8 @@
>  #include <stdio.h>
>  #include "test.h"
>  
> +const char *TCID = "Power_Management";

Why not use "get_sched_values" instead? This TCID "Power_Management" is already used in "runpwtests.sh".

Thanks,
Wanlong Gao

> +
>  int get_supp_sched_mc(void)
>  {
>  	if (tst_kvercmp(2, 6, 29) < 0)
>
diff mbox

Patch

diff --git a/testcases/kernel/power_management/get_sched_values.c b/testcases/kernel/power_management/get_sched_values.c
index 08260d5..b9d0156 100644
--- a/testcases/kernel/power_management/get_sched_values.c
+++ b/testcases/kernel/power_management/get_sched_values.c
@@ -17,6 +17,8 @@ 
 #include <stdio.h>
 #include "test.h"
 
+const char *TCID = "Power_Management";
+
 int get_supp_sched_mc(void)
 {
 	if (tst_kvercmp(2, 6, 29) < 0)