Skip to contentSkip to conversation

How to run "conformance" tests?

LTP Mitani 2 participants 5 messages Jul 28, 2010 – Aug 3, 2010

lore
Share & tools
lore

Mitani

author
#0 lore raw

Hi,

I want to run "conformance" testcases in "open_posix_testsuite". But I couldn't run it without manually copying.

I used "ltp-dev-a4e64cb8bb97d09b5695151106946a76984b330a.tar.gz" git. Environment is RHEL5.5 and x86_64 architecture.

First, I executed following commands.
make autotools
configure
make
make install
And I confirmed that those commands succeeded.
And I could see "logfile.conformance-all" file in "${LTPROOT}/testcases /open_posix_testsuite" directory.

I ran "make conformance-test" command. But it failed as follows:
------------
make[1]: Entering directory `/home/LTP/ltp-dev-20100726/testcases/open_posix_testsuite/con formance'
make[2]: Entering directory `/home/LTP/ltp-dev-20100726/testcases/open_posix_testsuite/con formance/behavior'
make[3]: Entering directory `/home/LTP/ltp-dev-20100726/testcases/open_posix_testsuite/con formance/behavior/WIFEXITED'
./run.sh: line 2: /bin/run-tests.sh: No such file or directory make[3]: *** [test] Error 127
make[3]: Leaving directory `/home/LTP/ltp-dev-20100726/testcases/open_posix_testsuite/conf ormance/behavior/WIFEXITED'
make[3]: Entering directory `/home/LTP/ltp-dev-20100726/testcases/open_posix_testsuite/con formance/behavior/timers'
./run.sh: line 2: /bin/run-tests.sh: No such file or directory make[3]: *** [test] Error 127
...
------------

So I copied following files to "/bin" directory manually.
"${LTPROOT}/testcases/open_posix_testsuite/bin/run-tests.sh" "${LTPROOT}/testcases/open_posix_testsuite/bin/t0"

After that, "make conformance-test" command began to run. I confirmed redirected log file, it was as follows:

------------
make[1]: Entering directory `/home/LTP/ltp-dev-20100726/testcases/open_posix_testsuite/con formance'
make[2]: Entering directory `/home/LTP/ltp-dev-20100726/testcases/open_posix_testsuite/con formance/behavior'
make[3]: Entering directory `/home/LTP/ltp-dev-20100726/testcases/open_posix_testsuite/con formance/behavior/WIFEXITED'
/bin/run-tests.sh: line 109: 11583 Alarm clock $SCRIPT_DIR/t0 0
*******************
SUMMARY
*******************
PASS 3
FAIL 0
*******************
TOTAL 3
*******************
make[3]: Leaving directory `/home/LTP/ltp-dev-20100726/testcases/open_posix_testsuite/conf ormance/behavior/WIFEXITED'
make[3]: Entering directory `/home/LTP/ltp-dev-20100726/testcases/open_posix_testsuite/con formance/behavior/timers'
*******************
SUMMARY
*******************
PASS 2
FAIL 0
*******************
TOTAL 2
*******************
...
------------

Is my method wrong?
Or is there the insufficient operation?

Regards--

-Tomonori Mitani

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#1 lore raw
Quoted 18 lines · Mitani

Hi,

I want to run "conformance" testcases in "open_posix_testsuite". But I couldn't run it without manually copying.

I used "ltp-dev-a4e64cb8bb97d09b5695151106946a76984b330a.tar.gz" git. Environment is RHEL5.5 and x86_64 architecture.

First, I executed following commands.
 make autotools
 configure
 make
 make install
And I confirmed that those commands succeeded.
And I could see "logfile.conformance-all" file in "${LTPROOT}/testcases /open_posix_testsuite" directory.

Quoted 1 line

I ran "make conformance-test" command. But it failed as follows:

Can you try running the following please from testcases/open_posix_testsuite?

make distclean
make all
make test

Your make version would help too.

Thanks!
-Garrett

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

author
#2 lore raw

Hi,

I executed "make distclean" from "testcases/open_posix_testsuite" directory,

and it secceeded.
I executed "make all", but it failed:

------------
[...]
make[2]: Entering directory `/home/LTP/ltp-dev-20100727/testcases/open_posix_testsuite/str ess'
make[2]: Leaving directory `/home/LTP/ltp-dev-20100727/testcases/open_posix_testsuite/stre ss'
Generating buildonly Makefiles
sed: invalid option -- E
Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...

-n, --quiet, --silent
suppress automatic printing of pattern space
-e script, --expression=script
add the script to the commands to be executed
[...]
If no -e, --expression, -f, or --file option is given, then the first non-option argument is taken as the sed script to interpret. All remaining arguments are names of input files; if no input files are specified, then the standard input is read.

E-mail bug reports to: [email protected] .
Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.
sed: invalid option -- E
Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]... [...]
------------

In this time, I used latest git "ltp-dev-3393cd192002793080aba661054d54a8a06f25c2.tar.gz"

Quoted 1 line

Your make version would help too.

My make version is 3.81.
Gcc version is 4.1.2.

Regards--

-Tomonori Mitani

Quoted 33 lines

-----Original Message-----
From: Garrett Cooper [mailto:[email protected]]
Sent: Wednesday, July 28, 2010 11:38 AM
To: Mitani
Cc: [email protected]
Subject: Re: [LTP] How to run "conformance" tests?

Quoted 7 lines · Mitani

Hi,

I want to run "conformance" testcases in "open_posix_testsuite". But I couldn't run it without manually copying.

I used "ltp-dev-a4e64cb8bb97d09b5695151106946a76984b330a.tar.gz"

git.

Quoted 9 lines

Environment is RHEL5.5 and x86_64 architecture.

First, I executed following commands.
 make autotools
 configure
 make
 make install
And I confirmed that those commands succeeded.
And I could see "logfile.conformance-all" file in

"${LTPROOT}/testcases

Quoted 3 lines

/open_posix_testsuite" directory.

I ran "make conformance-test" command. But it failed as follows:

Can you try running the following please from
testcases/open_posix_testsuite?

Quoted 8 lines

make distclean
make all
make test

Your make version would help too.

Thanks!
-Garrett

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#3 lore raw
Quoted 8 lines · Mitani

Hi,

I executed "make distclean" from "testcases/open_posix_testsuite" directory,

and it secceeded.
I executed "make all", but it failed:

Quoted 10 lines

------------
[...]
make[2]: Entering directory `/home/LTP/ltp-dev-20100727/testcases/open_posix_testsuite/str ess'
make[2]: Leaving directory `/home/LTP/ltp-dev-20100727/testcases/open_posix_testsuite/stre ss'
Generating buildonly Makefiles
sed: invalid option -- E

This is the problem. I leaked a non-POSIX extension into the Makefile generator by accident. Let me think up a solution for this...

Quoted 25 lines

Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...

 -n, --quiet, --silent
                suppress automatic printing of pattern space -e script, --expression=script
                add the script to the commands to be executed [...]
If no -e, --expression, -f, or --file option is given, then the first non-option argument is taken as the sed script to interpret.  All remaining arguments are names of input files; if no input files are specified, then the standard input is read.

E-mail bug reports to: [email protected] .
Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.
sed: invalid option -- E
Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]... [...]
------------

In this time, I used latest git "ltp-dev-3393cd192002793080aba661054d54a8a06f25c2.tar.gz"

Quoted 1 line

Your make version would help too.

Quoted 47 lines

My make version is 3.81.
Gcc version is 4.1.2.

Regards--

-Tomonori Mitani

Quoted 38 lines

-----Original Message-----
From: Garrett Cooper [mailto:[email protected]]
Sent: Wednesday, July 28, 2010 11:38 AM
To: Mitani
Cc: [email protected]
Subject: Re: [LTP] How to run "conformance" tests?

Quoted 7 lines · Mitani

Hi,

I want to run "conformance" testcases in "open_posix_testsuite". But I couldn't run it without manually copying.

I used "ltp-dev-a4e64cb8bb97d09b5695151106946a76984b330a.tar.gz"

git.

Quoted 9 lines

Environment is RHEL5.5 and x86_64 architecture.

First, I executed following commands.
 make autotools
 configure
 make
 make install
And I confirmed that those commands succeeded.
And I could see "logfile.conformance-all" file in

"${LTPROOT}/testcases

Quoted 3 lines

/open_posix_testsuite" directory.

I ran "make conformance-test" command. But it failed as follows:

Can you try running the following please from
testcases/open_posix_testsuite?

make distclean
make all
make test

Your make version would help too.

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

author
#4 lore raw
Quoted 76 lines

-----Original Message-----
From: Garrett Cooper [mailto:[email protected]]
Sent: Wednesday, July 28, 2010 3:28 PM
To: Mitani
Cc: [email protected]
Subject: Re: [LTP] How to run "conformance" tests?

Quoted 4 lines · Mitani

Hi,

I executed "make distclean" from "testcases/open_posix_testsuite"

directory,

Quoted 4 lines

and it secceeded.
I executed "make all", but it failed:

Quoted 10 lines

------------
[...]
make[2]: Entering directory `/home/LTP/ltp-dev-20100727/testcases/open_posix_testsuite/str ess'
make[2]: Leaving directory `/home/LTP/ltp-dev-20100727/testcases/open_posix_testsuite/stre ss'
Generating buildonly Makefiles
sed: invalid option -- E

This is the problem. I leaked a non-POSIX extension into the Makefile generator by accident. Let me think up a solution for this...

Quoted 1 line

Usage: sed [OPTION]... {script-only-if-no-other-script}

[input-file]...

Quoted 11 lines

 -n, --quiet, --silent
                suppress automatic printing of pattern space -e script, --expression=script
                add the script to the commands to be executed [...]
If no -e, --expression, -f, or --file option is given, then the first non-option argument is taken as the sed script to interpret.  All remaining arguments are names of input files; if no input files are specified, then the standard input is read.

Quoted 2 lines

E-mail bug reports to: [email protected] .
Be sure to include the word ``sed'' somewhere in the ``Subject:''

field.

Quoted 2 lines

sed: invalid option -- E
Usage: sed [OPTION]... {script-only-if-no-other-script}

[input-file]...

Quoted 26 lines

[...]
------------

In this time, I used latest git "ltp-dev-3393cd192002793080aba661054d54a8a06f25c2.tar.gz"

Quoted 1 line

Your make version would help too.

My make version is 3.81.
Gcc version is 4.1.2.

Regards--

-Tomonori Mitani

Quoted 8 lines

-----Original Message-----
From: Garrett Cooper [mailto:[email protected]]
Sent: Wednesday, July 28, 2010 11:38 AM
To: Mitani
Cc: [email protected]
Subject: Re: [LTP] How to run "conformance" tests?

On Tue, Jul 27, 2010 at 7:10 PM, Mitani <[email protected]> wrote:

Quoted 31 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

Hi,

I want to run "conformance" testcases in "open_posix_testsuite". But I couldn't run it without manually copying.

I used

"ltp-dev-a4e64cb8bb97d09b5695151106946a76984b330a.tar.gz"

Quoted 23 lines
Quoted 23 lines

git.

Quoted 9 lines

Environment is RHEL5.5 and x86_64 architecture.

First, I executed following commands.
 make autotools
 configure
 make
 make install
And I confirmed that those commands succeeded.
And I could see "logfile.conformance-all" file in

"${LTPROOT}/testcases

Quoted 3 lines

/open_posix_testsuite" directory.

I ran "make conformance-test" command. But it failed as follows:

Can you try running the following please from
testcases/open_posix_testsuite?

make distclean
make all
make test

Your make version would help too.

Garrett,

I succeeded to build by using recent git.

ltp-dev-33df225de41edcc3213535f249548acc937647a2.tar.gz

Thank you!

Regards--

-Tomonori Mitani

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list