Skip to contentSkip to conversation

list of test that needs autoconf checks

LTP Cyril Hrubis 1 participant 3 messages May 25, 2009 – Jun 24, 2009 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hi,
I was trying to build ltp-20090430 on several different hardware and suse flavours and following list of the tests is lacking autoconf checks for presence of functionality added recently into kernel/glibc:

testcases/kernel/controllers/cgroup/getdelays.c

Has missing not only freepages_count and freepages_delay_total as already mentioned in this list but also for kernel 2.6.22:

linux/cgroupstats.h: No such file or directory
'struct taskstats' has no member named 'nvcsw'
'struct taskstats' has no member named 'nivcsw'
'struct taskstats' has no member named 'read_bytes'
'struct taskstats' has no member named 'write_bytes'
'struct taskstats' has no member named 'cancelled_write_bytes' 'CGROUPSTATS_CMD_GET' undeclared (first use in this function) 'CGROUPSTATS_CMD_ATTR_FD' undeclared (first use in this function) 'CGROUPSTATS_TYPE_CGROUP_STATS' undeclared (first use in this function)

testcases/kernel/controllers/cgroup/test_6_2.c

clone() is missing on ia64 machines

testcases/kernel/syscalls/signalfd/signalfd01.c

sys/signalfd.h: No such file or directory (for glibc-2.4.31.54)

testcases/kernel/syscalls/splice/splice02.c

undefined reference to `splice' (from fcntl.h)

Signature · 13 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hi,

Quoted 14 lines
Quoted 14 lines

Has missing not only freepages_count and freepages_delay_total as already mentioned in this list but also for kernel 2.6.22:

linux/cgroupstats.h: No such file or directory
'struct taskstats' has no member named 'nvcsw'
'struct taskstats' has no member named 'nivcsw'
'struct taskstats' has no member named 'read_bytes'
'struct taskstats' has no member named 'write_bytes'
'struct taskstats' has no member named 'cancelled_write_bytes' 'CGROUPSTATS_CMD_GET' undeclared (first use in this function) 'CGROUPSTATS_CMD_ATTR_FD' undeclared (first use in this function) 'CGROUPSTATS_TYPE_CGROUP_STATS' undeclared (first use in this function)

Quoted 3 lines
Quoted 1 line

testcases/kernel/controllers/cgroup/test_6_2.c

Do you plan to write this ?

I'll look at this, but it's low priority now.

Quoted 5 lines
Quoted 3 lines

clone() is missing on ia64 machines

Same here :-)

Same here :-)

Quoted 6 lines
Quoted 5 lines

testcases/kernel/syscalls/signalfd/signalfd01.c

sys/signalfd.h: No such file or directory (for glibc-2.4.31.54)

Quoted 8 lines

It??s already there:
http://ltp.cvs.sourceforge.net/viewvc/ltp/ltp/m4/ltp-signalfd.m4

Quoted 3 lines

testcases/kernel/syscalls/splice/splice02.c

Yes, we need this also. We had some discussions on this very recently:
http://marc.info/?t=124300498400006&r=1&w=2&n=3,

Thanks!

Signature · 13 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

Hi!

Quoted 14 lines
Quoted 14 lines
Quoted 14 lines
Quoted 14 lines

Has missing not only freepages_count and freepages_delay_total as already mentioned in this list but also for kernel 2.6.22:

linux/cgroupstats.h: No such file or directory
'struct taskstats' has no member named 'nvcsw'
'struct taskstats' has no member named 'nivcsw'
'struct taskstats' has no member named 'read_bytes'
'struct taskstats' has no member named 'write_bytes'
'struct taskstats' has no member named 'cancelled_write_bytes' 'CGROUPSTATS_CMD_GET' undeclared (first use in this function) 'CGROUPSTATS_CMD_ATTR_FD' undeclared (first use in this function) 'CGROUPSTATS_TYPE_CGROUP_STATS' undeclared (first use in this function)

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

testcases/kernel/controllers/cgroup/test_6_2.c

Do you plan to write this ?

I'll look at this, but it's low priority now.

Any luck here now ?

Well last two weeks I was passing exams on university. But I've started playing with autoconf lately. I'll look at it hopefully soon.

Also some autoconf macros we have there are not working correctly on older systems.

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

clone() is missing on ia64 machines

There is header that fixes this in clone testsuite (by proposing clone definition for ia64). So may be we should create directory somwhere in ltp root that will contain all such compile time and runtime tests so they could be easily reused in any new code.

Signature · 8 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list