public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] cpuset: fix a lost compile target in Makefile
@ 2010-01-05  7:57 Shi Weihua
  2010-01-06  5:55 ` Garrett Cooper
  0 siblings, 1 reply; 2+ messages in thread
From: Shi Weihua @ 2010-01-05  7:57 UTC (permalink / raw)
  To: ltp-list

In latest ltp version, the following message occured when run the case of cpuset.
-----
./cpuset_hotplug_test.sh: line 39: ./cpuset_list_compute: No such file or directory
./cpuset_hotplug_test.sh: line 227: ./cpuset_list_compute: No such file or directory
-----

The reason is that cpuset_list_compute.c(in testcases/kernel/controllers/cpuset/
cpuset_hotplug_test/) has not been compiled.
This patch fix it.

Signed-off-by: Shi Weihua <shiwh@cn.fujitsu.com>
---
--- ltp-intermediate-20091209.orig/testcases/kernel/controllers/cpuset/cpuset_hotplug_test/Makefile	2009-12-09 02:48:49.000000000 -0500
+++ ltp-intermediate-20091209/testcases/kernel/controllers/cpuset/cpuset_hotplug_test/Makefile	2010-01-05 10:53:55.000000000 -0500
@@ -25,6 +25,6 @@ top_srcdir              ?= ../../../../.
 include $(top_srcdir)/include/mk/testcases.mk
 include $(abs_srcdir)/../Makefile.inc
 
-MAKE_TARGETS		:=
+LDLIBS		+= -lpthread
 
 include $(top_srcdir)/include/mk/generic_leaf_target.mk


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LTP] [PATCH] cpuset: fix a lost compile target in Makefile
  2010-01-05  7:57 [LTP] [PATCH] cpuset: fix a lost compile target in Makefile Shi Weihua
@ 2010-01-06  5:55 ` Garrett Cooper
  0 siblings, 0 replies; 2+ messages in thread
From: Garrett Cooper @ 2010-01-06  5:55 UTC (permalink / raw)
  To: Shi Weihua; +Cc: ltp-list

On Mon, Jan 4, 2010 at 11:57 PM, Shi Weihua <shiwh@cn.fujitsu.com> wrote:
> In latest ltp version, the following message occured when run the case of cpuset.
> -----
> ./cpuset_hotplug_test.sh: line 39: ./cpuset_list_compute: No such file or directory
> ./cpuset_hotplug_test.sh: line 227: ./cpuset_list_compute: No such file or directory
> -----
>
> The reason is that cpuset_list_compute.c(in testcases/kernel/controllers/cpuset/
> cpuset_hotplug_test/) has not been compiled.
> This patch fix it.
>
> Signed-off-by: Shi Weihua <shiwh@cn.fujitsu.com>
> ---
> --- ltp-intermediate-20091209.orig/testcases/kernel/controllers/cpuset/cpuset_hotplug_test/Makefile     2009-12-09 02:48:49.000000000 -0500
> +++ ltp-intermediate-20091209/testcases/kernel/controllers/cpuset/cpuset_hotplug_test/Makefile  2010-01-05 10:53:55.000000000 -0500
> @@ -25,6 +25,6 @@ top_srcdir              ?= ../../../../.
>  include $(top_srcdir)/include/mk/testcases.mk
>  include $(abs_srcdir)/../Makefile.inc
>
> -MAKE_TARGETS           :=
> +LDLIBS         += -lpthread
>
>  include $(top_srcdir)/include/mk/generic_leaf_target.mk

Committed -- thanks!
-Garrett

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-06  5:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-05  7:57 [LTP] [PATCH] cpuset: fix a lost compile target in Makefile Shi Weihua
2010-01-06  5:55 ` Garrett Cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox