Skip to contentSkip to conversation

ltp-testsuite package qustion

Buildroot Maxim Grigoriev 2 participants 3 messages Mar 21, 2009

lore
Share & tools
lore
#0 lore raw

Hello everybody,

Can somebody, please, tell me how I can change a version of .../package/ltp-testsuite ?

Is 20070228 a default ?
It seems to be hard-coded. And, ltp-testsuite patches do not apply to a newer version.

On the http://ltp.sourceforge.net/, the latest stable version is claimed to be

              ltp-full-20090228.tgz

A Two-years old version does not work quite well with recent versions of tools and kernel / kernel headers.

One of the issues I observe is an undefined macro OPEN_MAX, which was removed from limits.h. It's now a variable, which can be obtained, say, by

              sysconf (_SC_OPEN_MAX).

I'm hoping that switching to a newer version of LTP would fix this problem.

Any help on this will be highly appreciated.

-- Maxim Grigoriev
Tensilica, Inc., U.S.A.
(work) 408-566-1770
(cell) 510-520-3697

#1 lore raw
Quoted 6 lines · Maxim Grigoriev

Hello everybody,

Can somebody, please, tell me how I can change a version of .../package/ltp-testsuite ?

Quoted 9 lines

Is 20070228 a default ?
It seems to be hard-coded. And, ltp-testsuite patches do not apply to a newer version.

On the http://ltp.sourceforge.net/, the latest stable version is claimed to be

             ltp-full-20090228.tgz

In ./package/ltp-testsuite/ltp-testsuite.mk:

- LTP_TESTSUITE_VERSION:=20070228
+ LTP_TESTSUITE_VERSION:=20090228

Quoted 7 lines

A Two-years old version does not work quite well with recent versions of tools and kernel / kernel headers.

One of the issues I observe is an undefined macro OPEN_MAX, which was removed from limits.h. It's now a variable, which can be obtained, say, by

Quoted 6 lines
             sysconf (_SC_OPEN_MAX).

I'm hoping that switching to a newer version of LTP would fix this problem.

Any help on this will be highly appreciated.

Regards,
Hartley

#2 lore raw

Thanks for your feedback.

Quoted 4 lines
Quoted 4 lines

In ./package/ltp-testsuite/ltp-testsuite.mk:

- LTP_TESTSUITE_VERSION:=20070228
+ LTP_TESTSUITE_VERSION:=20090228

That's what I did. Then, I found out that I have to redo the patches.

Does it mean nobody tried recent LTP tests ?

Thanks,
-- Maxim

Quoted 43 lines · H Hartley Sweeten
Quoted 5 lines · Maxim Grigoriev

Hello everybody,

Can somebody, please, tell me how I can change a version of .../package/ltp-testsuite ?

Quoted 10 lines

Is 20070228 a default ?
It seems to be hard-coded. And, ltp-testsuite patches do not apply to a newer version.

On the http://ltp.sourceforge.net/, the latest stable version is claimed to be

             ltp-full-20090228.tgz

In ./package/ltp-testsuite/ltp-testsuite.mk:

- LTP_TESTSUITE_VERSION:=20070228
+ LTP_TESTSUITE_VERSION:=20090228

Quoted 7 lines

A Two-years old version does not work quite well with recent versions of tools and kernel / kernel headers.

One of the issues I observe is an undefined macro OPEN_MAX, which was removed from limits.h. It's now a variable, which can be obtained, say, by

Quoted 7 lines
             sysconf (_SC_OPEN_MAX).

I'm hoping that switching to a newer version of LTP would fix this problem.

Any help on this will be highly appreciated.

Regards,
Hartley