From: Cyril Hrubis <chrubis@suse.cz>
To: Garrett Cooper <yanegomi@gmail.com>
Cc: LTP Mailing List <ltp-list@lists.sourceforge.net>,
Mark Ver <markver@us.ibm.com>, Sachin P Sant <sachinp@in.ibm.com>
Subject: Re: [LTP] [PATCH] Re: compile fails for libcpuset.c on SLES-11 s390x with ltp-full-20090930
Date: Thu, 15 Oct 2009 21:14:17 +0200 [thread overview]
Message-ID: <20091015191417.GA791@schrodinger.suse.cz> (raw)
In-Reply-To: <364299f40910151155x646bcf38naa53e5af4aad75b3@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 905 bytes --]
Hi!
> This logic is covered in include/mk/testcases.mk as follows:
>
> include $(top_srcdir)/include/mk/env_pre.mk
>
> # For linux_syscall_numbers.h
> CPPFLAGS += -I$(abs_top_builddir)/testcases/kernel/include
>
> INSTALL_DIR := testcases/bin
>
> LDLIBS += -lltp
>
> There's no reason why we have to go back to the hackish Makefile's
> -- we can just include testcases.mk if it's not included already (I
> admit, a smallhandful of testcases/... Makefile's didn't do this, but
> I did this on need-to-have basis).
I still would rather have one place to store all commonly used headers eg.
$(topdir)/include. And stroring makefile "libraries" in $(topdir)/include/mk/
is IMHO not cleanest solution, may be it sould have it's onw directory in
$(topdir).
Anyway fixed patch attached.
Signed-off-by: chrubis@suse.cz
--
Cyril Hrubis
chrubis@suse.cz
[-- Attachment #2: get_set_memopolicy_syscall_missing.patch --]
[-- Type: text/x-patch, Size: 2181 bytes --]
Index: delme/testcases/kernel/include/powerpc.in
===================================================================
--- delme.orig/testcases/kernel/include/powerpc.in
+++ delme/testcases/kernel/include/powerpc.in
@@ -3,6 +3,8 @@ timer_settime 241
timer_delete 244
clock_settime 245
clock_gettime 246
+get_mempolicy 260
+set_mempolicy 261
splice 283
tee 284
vmsplice 285
Index: delme/testcases/kernel/include/powerpc64.in
===================================================================
--- delme.orig/testcases/kernel/include/powerpc64.in
+++ delme/testcases/kernel/include/powerpc64.in
@@ -3,6 +3,8 @@ timer_settime 241
timer_delete 244
clock_settime 245
clock_gettime 246
+get_mempolicy 260
+set_mempolicy 261
splice 283
tee 284
vmsplice 285
Index: delme/testcases/kernel/controllers/cpuset/cpuset_lib/libcpuset.c
===================================================================
--- delme.orig/testcases/kernel/controllers/cpuset/cpuset_lib/libcpuset.c
+++ delme/testcases/kernel/controllers/cpuset/cpuset_lib/libcpuset.c
@@ -48,6 +48,9 @@
#include "cpuset.h"
#include "common.h"
+#include "test.h"
+#include "linux_syscall_numbers.h"
+
/* Bump version, and update Change History, when libcpuset API changes */
#define CPUSET_VERSION 3
Index: delme/testcases/kernel/include/s390x.in
===================================================================
--- delme.orig/testcases/kernel/include/s390x.in
+++ delme/testcases/kernel/include/s390x.in
@@ -1,3 +1,5 @@
+get_mempolicy 269
+set_mempolicy 270
openat 288
mkdirat (__NR_openat + 1)
mknodat (__NR_openat + 2)
Index: delme/testcases/kernel/controllers/cpuset/cpuset_lib/Makefile
===================================================================
--- delme.orig/testcases/kernel/controllers/cpuset/cpuset_lib/Makefile
+++ delme/testcases/kernel/controllers/cpuset/cpuset_lib/Makefile
@@ -18,11 +18,12 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Garrett Cooper, July 2009
+# Cyril Hrubis, October 2009
#
top_srcdir ?= ../../../../..
-include $(top_srcdir)/include/mk/env_pre.mk
+include $(top_srcdir)/include/mk/testcases.mk
LDLIBS += -lm -lcontrollers
[-- Attachment #3: Type: text/plain, Size: 399 bytes --]
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
[-- Attachment #4: Type: text/plain, Size: 155 bytes --]
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2009-10-15 19:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-14 11:56 [LTP] [PATCH] Re: compile fails for libcpuset.c on SLES-11 s390x with ltp-full-20090930 Subrata Modak
2009-10-15 16:23 ` Cyril Hrubis
2009-10-15 17:30 ` Cyril Hrubis
[not found] ` <364299f40910151155x646bcf38naa53e5af4aad75b3@mail.gmail.com>
2009-10-15 19:14 ` Cyril Hrubis [this message]
[not found] ` <364299f40910151209s4a75e999he76b9c1d9b58a88a@mail.gmail.com>
[not found] ` <364299f40910151211r48d7510fnfc3c69a685923ca5@mail.gmail.com>
2009-10-15 19:20 ` Cyril Hrubis
[not found] ` <364299f40910151225lea3392fj9e36f4afe43fe67d@mail.gmail.com>
2009-10-15 19:39 ` Cyril Hrubis
[not found] ` <364299f40910151228n23d96e98g3850bfa9e78bd987@mail.gmail.com>
2009-10-15 19:46 ` Cyril Hrubis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091015191417.GA791@schrodinger.suse.cz \
--to=chrubis@suse.cz \
--cc=ltp-list@lists.sourceforge.net \
--cc=markver@us.ibm.com \
--cc=sachinp@in.ibm.com \
--cc=yanegomi@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox