* [LTP] How to run "conformance" tests?
@ 2010-07-28 2:10 Mitani
2010-07-28 2:37 ` Garrett Cooper
0 siblings, 1 reply; 5+ messages in thread
From: Mitani @ 2010-07-28 2:10 UTC (permalink / raw)
To: ltp-list
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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [LTP] How to run "conformance" tests? 2010-07-28 2:10 [LTP] How to run "conformance" tests? Mitani @ 2010-07-28 2:37 ` Garrett Cooper 2010-07-28 5:43 ` Mitani 0 siblings, 1 reply; 5+ messages in thread From: Garrett Cooper @ 2010-07-28 2:37 UTC (permalink / raw) To: Mitani; +Cc: ltp-list On Tue, Jul 27, 2010 at 7:10 PM, Mitani <mitani@ryobi.co.jp> wrote: > 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: 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 Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LTP] How to run "conformance" tests? 2010-07-28 2:37 ` Garrett Cooper @ 2010-07-28 5:43 ` Mitani 2010-07-28 6:28 ` Garrett Cooper 0 siblings, 1 reply; 5+ messages in thread From: Mitani @ 2010-07-28 5:43 UTC (permalink / raw) To: 'Garrett Cooper'; +Cc: ltp-list 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: bonzini@gnu.org . 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" > Your make version would help too. My make version is 3.81. Gcc version is 4.1.2. Regards-- -Tomonori Mitani > -----Original Message----- > From: Garrett Cooper [mailto:yanegomi@gmail.com] > Sent: Wednesday, July 28, 2010 11:38 AM > To: Mitani > Cc: ltp-list@lists.sourceforge.net > Subject: Re: [LTP] How to run "conformance" tests? > > On Tue, Jul 27, 2010 at 7:10 PM, Mitani <mitani@ryobi.co.jp> wrote: > > 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: > > 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 Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LTP] How to run "conformance" tests? 2010-07-28 5:43 ` Mitani @ 2010-07-28 6:28 ` Garrett Cooper 2010-08-03 4:31 ` Mitani 0 siblings, 1 reply; 5+ messages in thread From: Garrett Cooper @ 2010-07-28 6:28 UTC (permalink / raw) To: Mitani; +Cc: ltp-list On Tue, Jul 27, 2010 at 10:43 PM, Mitani <mitani@ryobi.co.jp> wrote: > 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 This is the problem. I leaked a non-POSIX extension into the Makefile generator by accident. Let me think up a solution for this... > 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: bonzini@gnu.org . > 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" > > >> Your make version would help too. > > My make version is 3.81. > Gcc version is 4.1.2. > > > Regards-- > > -Tomonori Mitani > > >> -----Original Message----- >> From: Garrett Cooper [mailto:yanegomi@gmail.com] >> Sent: Wednesday, July 28, 2010 11:38 AM >> To: Mitani >> Cc: ltp-list@lists.sourceforge.net >> Subject: Re: [LTP] How to run "conformance" tests? >> >> On Tue, Jul 27, 2010 at 7:10 PM, Mitani <mitani@ryobi.co.jp> wrote: >> > 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: >> >> 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 Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LTP] How to run "conformance" tests? 2010-07-28 6:28 ` Garrett Cooper @ 2010-08-03 4:31 ` Mitani 0 siblings, 0 replies; 5+ messages in thread From: Mitani @ 2010-08-03 4:31 UTC (permalink / raw) To: 'Garrett Cooper'; +Cc: ltp-list > -----Original Message----- > From: Garrett Cooper [mailto:yanegomi@gmail.com] > Sent: Wednesday, July 28, 2010 3:28 PM > To: Mitani > Cc: ltp-list@lists.sourceforge.net > Subject: Re: [LTP] How to run "conformance" tests? > > On Tue, Jul 27, 2010 at 10:43 PM, Mitani <mitani@ryobi.co.jp> wrote: > > 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 > > This is the problem. I leaked a non-POSIX extension into the Makefile > generator by accident. Let me think up a solution for this... > > > 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: bonzini@gnu.org . > > 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" > > > > > >> Your make version would help too. > > > > My make version is 3.81. > > Gcc version is 4.1.2. > > > > > > Regards-- > > > > -Tomonori Mitani > > > > > >> -----Original Message----- > >> From: Garrett Cooper [mailto:yanegomi@gmail.com] > >> Sent: Wednesday, July 28, 2010 11:38 AM > >> To: Mitani > >> Cc: ltp-list@lists.sourceforge.net > >> Subject: Re: [LTP] How to run "conformance" tests? > >> > >> On Tue, Jul 27, 2010 at 7:10 PM, Mitani <mitani@ryobi.co.jp> wrote: > >> > 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: > >> > >> 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 Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-08-03 4:31 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-07-28 2:10 [LTP] How to run "conformance" tests? Mitani 2010-07-28 2:37 ` Garrett Cooper 2010-07-28 5:43 ` Mitani 2010-07-28 6:28 ` Garrett Cooper 2010-08-03 4:31 ` Mitani
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox