* [cr_tests] warning fixes and build system changes
@ 2010-02-11 23:17 Nathan Lynch
[not found] ` <1265930227.17626.3313.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Nathan Lynch @ 2010-02-11 23:17 UTC (permalink / raw)
To: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Cc: Sukadev Bhattiprolu
Hi all,
Serge has kindly pulled a pile of -Wall fixes and Makefile changes into
the "ntl" branch at git://git.sr71.net/~hallyn/cr_tests.git. The
motivation behind this is that building the testsuite with a non-default
word size (e.g. 64-bit on most powerpc distributions) is basically
impossible with the current set of Makefiles, some of which use CFLAGS
improperly or hard-code "gcc". With the changes in this branch, "make
CFLAGS=-m64" does the right thing, and the test suite builds cleanly
with -Wall and both 32- and 64-bit output.
Patch summaries and overall diffstat below. Please follow up here with
any concerns, thanks!
Nathan Lynch (29):
cr_tests/eclone: add USER_CR_DIR to linker search path
cr_tests/libcrtest: add declaration for print_exit_status
cr_tests/libcrtest: make u64 unsigned long long
cr_tests/libfutex: include local header with quotes, not brackets
cr_tests/nsexec: fix -Wall warnings
cr_tests/libcrtest: fix -Wall warnings etc
cr_tests/eclone: fix -Wall warnings
cr_tests/fileio1: fix -Wall warnings
cr_tests/filelock1: fix -Wall warnings
cr_tests/filelock2: fix -Wall warnings
cr_tests/fsetown1: fix -Wall warnings
cr_tests/filelease1: fix -Wall warnings
cr_tests/filelease2: fix -Wall warnings
cr_tests/ptree1: fix -Wall warnings etc
cr_tests/pthread1: fix -Wall warnings
cr_tests/pthread2: fix -Wall warnings
cr_tests/pthread3: fix -Wall warnings
cr_tests/pthread4: fix -Wall warnings
cr_tests/create-sem: fix -Wall warnings
cr_tests/check-mq: include libcrtest.h
cr_tests/chrootsleep: fix -Wall warnings
cr_tests/userns_ckptme: fix -Wall warnings
cr_tests/usertask: fix -Wall warnings
cr_tests/userns_deep: fix -Wall warnings
cr_tests/simple_deep: fix -Wall warnings
cr_tests/epoll: strlen returns size_t
cr_tests/pthread: use correct size_t printf conversion
cr_tests: rework build system
cr_tests: remove old Makefiles
Makefile | 50 +++++++++++++++++++++++++++++++----------
bashckpt/module.mk | 3 ++
counterloop/Makefile | 7 -----
counterloop/module.mk | 5 ++++
eclone/Makefile | 21 -----------------
eclone/eclone-1.c | 8 +++---
eclone/eclone-2.c | 8 +++---
eclone/eclone-3.c | 8 +++---
eclone/eclone-4.c | 8 +++---
eclone/eclone-5.c | 8 +++---
eclone/module.mk | 9 +++++++
epoll/Makefile | 29 ------------------------
epoll/cycle.c | 4 +-
epoll/module.mk | 11 +++++++++
epoll/pipe.c | 4 +-
epoll/scm.c | 4 +-
epoll/sk10k.c | 4 +-
fileio/Makefile | 12 ----------
fileio/fileio1.c | 3 ++
fileio/filelease1.c | 9 +++++--
fileio/filelease2.c | 19 ++++++++++-----
fileio/filelock1.c | 16 ++++++++-----
fileio/filelock2.c | 29 +++++++++---------------
fileio/fsetown1.c | 16 ++++++------
fileio/module.mk | 12 ++++++++++
futex/Makefile | 44 ------------------------------------
futex/libfutex/Makefile | 16 -------------
futex/libfutex/libfutex.h | 2 +-
futex/libfutex/module.mk | 11 +++++++++
futex/module.mk | 15 ++++++++++++
ipc/Makefile | 18 ---------------
ipc/check-mq.c | 2 +
ipc/create-sem.c | 5 +++-
ipc/module.mk | 10 ++++++++
libcrtest/Makefile | 11 ---------
libcrtest/common.c | 16 ++++++++++---
libcrtest/libcrtest.h | 4 +-
libcrtest/module.mk | 11 +++++++++
ns_exec.c | 6 ++--
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [cr_tests] warning fixes and build system changes
[not found] ` <1265930227.17626.3313.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
@ 2010-02-12 14:25 ` Serge E. Hallyn
2010-02-15 15:47 ` Serge E. Hallyn
1 sibling, 0 replies; 5+ messages in thread
From: Serge E. Hallyn @ 2010-02-12 14:25 UTC (permalink / raw)
To: Nathan Lynch
Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
Sukadev Bhattiprolu
Quoting Nathan Lynch (ntl-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org):
> Hi all,
>
> Serge has kindly pulled a pile of -Wall fixes and Makefile changes into
> the "ntl" branch at git://git.sr71.net/~hallyn/cr_tests.git. The
> motivation behind this is that building the testsuite with a non-default
> word size (e.g. 64-bit on most powerpc distributions) is basically
> impossible with the current set of Makefiles, some of which use CFLAGS
> improperly or hard-code "gcc". With the changes in this branch, "make
> CFLAGS=-m64" does the right thing, and the test suite builds cleanly
> with -Wall and both 32- and 64-bit output.
>
> Patch summaries and overall diffstat below. Please follow up here with
> any concerns, thanks!
Mostly compiled and ran fine on my end so I expect to push it to master
branch today. The two problems I had resulted from an old userspace.
Thanks for cleaning this up.
-serge
> Nathan Lynch (29):
> cr_tests/eclone: add USER_CR_DIR to linker search path
> cr_tests/libcrtest: add declaration for print_exit_status
> cr_tests/libcrtest: make u64 unsigned long long
> cr_tests/libfutex: include local header with quotes, not brackets
> cr_tests/nsexec: fix -Wall warnings
> cr_tests/libcrtest: fix -Wall warnings etc
> cr_tests/eclone: fix -Wall warnings
> cr_tests/fileio1: fix -Wall warnings
> cr_tests/filelock1: fix -Wall warnings
> cr_tests/filelock2: fix -Wall warnings
> cr_tests/fsetown1: fix -Wall warnings
> cr_tests/filelease1: fix -Wall warnings
> cr_tests/filelease2: fix -Wall warnings
> cr_tests/ptree1: fix -Wall warnings etc
> cr_tests/pthread1: fix -Wall warnings
> cr_tests/pthread2: fix -Wall warnings
> cr_tests/pthread3: fix -Wall warnings
> cr_tests/pthread4: fix -Wall warnings
> cr_tests/create-sem: fix -Wall warnings
> cr_tests/check-mq: include libcrtest.h
> cr_tests/chrootsleep: fix -Wall warnings
> cr_tests/userns_ckptme: fix -Wall warnings
> cr_tests/usertask: fix -Wall warnings
> cr_tests/userns_deep: fix -Wall warnings
> cr_tests/simple_deep: fix -Wall warnings
> cr_tests/epoll: strlen returns size_t
> cr_tests/pthread: use correct size_t printf conversion
> cr_tests: rework build system
> cr_tests: remove old Makefiles
>
> Makefile | 50 +++++++++++++++++++++++++++++++----------
> bashckpt/module.mk | 3 ++
> counterloop/Makefile | 7 -----
> counterloop/module.mk | 5 ++++
> eclone/Makefile | 21 -----------------
> eclone/eclone-1.c | 8 +++---
> eclone/eclone-2.c | 8 +++---
> eclone/eclone-3.c | 8 +++---
> eclone/eclone-4.c | 8 +++---
> eclone/eclone-5.c | 8 +++---
> eclone/module.mk | 9 +++++++
> epoll/Makefile | 29 ------------------------
> epoll/cycle.c | 4 +-
> epoll/module.mk | 11 +++++++++
> epoll/pipe.c | 4 +-
> epoll/scm.c | 4 +-
> epoll/sk10k.c | 4 +-
> fileio/Makefile | 12 ----------
> fileio/fileio1.c | 3 ++
> fileio/filelease1.c | 9 +++++--
> fileio/filelease2.c | 19 ++++++++++-----
> fileio/filelock1.c | 16 ++++++++-----
> fileio/filelock2.c | 29 +++++++++---------------
> fileio/fsetown1.c | 16 ++++++------
> fileio/module.mk | 12 ++++++++++
> futex/Makefile | 44 ------------------------------------
> futex/libfutex/Makefile | 16 -------------
> futex/libfutex/libfutex.h | 2 +-
> futex/libfutex/module.mk | 11 +++++++++
> futex/module.mk | 15 ++++++++++++
> ipc/Makefile | 18 ---------------
> ipc/check-mq.c | 2 +
> ipc/create-sem.c | 5 +++-
> ipc/module.mk | 10 ++++++++
> libcrtest/Makefile | 11 ---------
> libcrtest/common.c | 16 ++++++++++---
> libcrtest/libcrtest.h | 4 +-
> libcrtest/module.mk | 11 +++++++++
> ns_exec.c | 6 ++--
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [cr_tests] warning fixes and build system changes
[not found] ` <1265930227.17626.3313.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2010-02-12 14:25 ` Serge E. Hallyn
@ 2010-02-15 15:47 ` Serge E. Hallyn
[not found] ` <20100215154751.GA2482-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
1 sibling, 1 reply; 5+ messages in thread
From: Serge E. Hallyn @ 2010-02-15 15:47 UTC (permalink / raw)
To: Nathan Lynch
Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
Sukadev Bhattiprolu
Quoting Nathan Lynch (ntl-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org):
> Hi all,
> Patch summaries and overall diffstat below. Please follow up here with
> any concerns, thanks!
Was it on purpose that you no longer delete the cr_* directories
with the test results on a 'make clean'? If you're concerned about
accidentally losing info, then how about adding 'make distclean'
to do that?
-serge
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [cr_tests] warning fixes and build system changes
[not found] ` <20100215154751.GA2482-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
@ 2010-02-15 16:14 ` Nathan Lynch
[not found] ` <1266250490.6542.6.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Nathan Lynch @ 2010-02-15 16:14 UTC (permalink / raw)
To: Serge E. Hallyn
Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
Sukadev Bhattiprolu
On Mon, 2010-02-15 at 09:47 -0600, Serge E. Hallyn wrote:
> Was it on purpose that you no longer delete the cr_* directories
> with the test results on a 'make clean'? If you're concerned about
> accidentally losing info, then how about adding 'make distclean'
> to do that?
There is a "testclean" target which does this. The changelog notes this
change in behavior.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [cr_tests] warning fixes and build system changes
[not found] ` <1266250490.6542.6.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
@ 2010-02-15 16:25 ` Serge E. Hallyn
0 siblings, 0 replies; 5+ messages in thread
From: Serge E. Hallyn @ 2010-02-15 16:25 UTC (permalink / raw)
To: Nathan Lynch
Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
Sukadev Bhattiprolu
Quoting Nathan Lynch (ntl-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org):
> On Mon, 2010-02-15 at 09:47 -0600, Serge E. Hallyn wrote:
>
> > Was it on purpose that you no longer delete the cr_* directories
> > with the test results on a 'make clean'? If you're concerned about
> > accidentally losing info, then how about adding 'make distclean'
> > to do that?
>
> There is a "testclean" target which does this. The changelog notes this
> change in behavior.
Oops.
thanks,
-serge
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-02-15 16:25 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-11 23:17 [cr_tests] warning fixes and build system changes Nathan Lynch
[not found] ` <1265930227.17626.3313.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2010-02-12 14:25 ` Serge E. Hallyn
2010-02-15 15:47 ` Serge E. Hallyn
[not found] ` <20100215154751.GA2482-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2010-02-15 16:14 ` Nathan Lynch
[not found] ` <1266250490.6542.6.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2010-02-15 16:25 ` Serge E. Hallyn
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.