|
Boost : |
Subject: Re: [boost] [process] How to run test cases
From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2008-09-22 07:41:32
Hi,
Ran the test suite on GCC 4.1.2, Linux x86_64. 9 test cases failed.
Attached is the bjam output.
Sebastian
warning: skipping optional Message Passing Interface (MPI) library.
note: to enable MPI support, add "using mpi ;" to user-config.jam.
note: to suppress this message, pass "--without-mpi" to bjam.
note: otherwise, you can safely ignore this message.
...patience...
...patience...
...found 2305 targets...
...using 9 temp targets...
...updating 18 targets...
...using <p../../../bin.v2/libs/process/test/arguments_test.test/gcc-4.1.2/debug/link-static>arguments_test...
testing.capture-output ../../../bin.v2/libs/process/test/arguments_test.test/gcc-4.1.2/debug/link-static/arguments_test.run
====== BEGIN OUTPUT ======
Running 2 test cases...
arguments_test.cpp(61): error in "test_quoting": check s.exit_status() == 0 failed [1 != 0]
arguments_test.cpp(68): error in "test_quoting": check get_argument("foo") == ">>>foo<<<" failed [Running 2 test cases... != >>>foo<<<]
arguments_test.cpp(61): error in "test_quoting": check s.exit_status() == 0 failed [1 != 0]
arguments_test.cpp(69): error in "test_quoting": check get_argument("foo ") == ">>>foo <<<" failed [ != >>>foo <<<]
arguments_test.cpp(61): error in "test_quoting": check s.exit_status() == 0 failed [1 != 0]
arguments_test.cpp(70): error in "test_quoting": check get_argument(" foo") == ">>> foo<<<" failed [ != >>> foo<<<]
arguments_test.cpp(61): error in "test_quoting": check s.exit_status() == 0 failed [1 != 0]
arguments_test.cpp(71): error in "test_quoting": check get_argument("foo bar") == ">>>foo bar<<<" failed [ != >>>foo bar<<<]
arguments_test.cpp(61): error in "test_quoting": check s.exit_status() == 0 failed [1 != 0]
arguments_test.cpp(73): error in "test_quoting": check get_argument("foo\"bar") == ">>>foo\"bar<<<" failed [ != >>>foo"bar<<<]
arguments_test.cpp(61): error in "test_quoting": check s.exit_status() == 0 failed [1 != 0]
arguments_test.cpp(74): error in "test_quoting": check get_argument("foo\"bar\"") == ">>>foo\"bar\"<<<" failed [ != >>>foo"bar"<<<]
arguments_test.cpp(61): error in "test_quoting": check s.exit_status() == 0 failed [1 != 0]
arguments_test.cpp(75): error in "test_quoting": check get_argument("\"foo\"bar") == ">>>\"foo\"bar<<<" failed [ != >>>"foo"bar<<<]
arguments_test.cpp(61): error in "test_quoting": check s.exit_status() == 0 failed [1 != 0]
arguments_test.cpp(76): error in "test_quoting": check get_argument("\"foo bar\"") == ">>>\"foo bar\"<<<" failed [ != >>>"foo bar"<<<]
arguments_test.cpp(61): error in "test_quoting": check s.exit_status() == 0 failed [1 != 0]
arguments_test.cpp(78): error in "test_quoting": check get_argument("*") == ">>>*<<<" failed [ != >>>*<<<]
arguments_test.cpp(61): error in "test_quoting": check s.exit_status() == 0 failed [1 != 0]
arguments_test.cpp(79): error in "test_quoting": check get_argument("?*") == ">>>?*<<<" failed [ != >>>?*<<<]
arguments_test.cpp(61): error in "test_quoting": check s.exit_status() == 0 failed [1 != 0]
arguments_test.cpp(80): error in "test_quoting": check get_argument("[a-z]*") == ">>>[a-z]*<<<" failed [ != >>>[a-z]*<<<]
*** 22 failures detected in test suite "Master Test Suite"
EXIT STATUS: 201
====== END OUTPUT ======
LD_LIBRARY_PATH=/usr/bin:/usr/lib:/usr/lib32:/usr/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
"../../../bin.v2/libs/process/test/arguments_test.test/gcc-4.1.2/debug/link-static/arguments_test" > "../../../bin.v2/libs/process/test/arguments_test.test/gcc-4.1.2/debug/link-static/arguments_test.output" 2>&1
status=$?
echo >> "../../../bin.v2/libs/process/test/arguments_test.test/gcc-4.1.2/debug/link-static/arguments_test.output"
echo EXIT STATUS: $status >> "../../../bin.v2/libs/process/test/arguments_test.test/gcc-4.1.2/debug/link-static/arguments_test.output"
if test $status -eq 0 ; then
cp "../../../bin.v2/libs/process/test/arguments_test.test/gcc-4.1.2/debug/link-static/arguments_test.output" "../../../bin.v2/libs/process/test/arguments_test.test/gcc-4.1.2/debug/link-static/arguments_test.run"
fi
verbose=0
if test $status -ne 0 ; then
verbose=1
fi
if test $verbose -eq 1 ; then
echo ====== BEGIN OUTPUT ======
cat "../../../bin.v2/libs/process/test/arguments_test.test/gcc-4.1.2/debug/link-static/arguments_test.output"
echo ====== END OUTPUT ======
fi
exit $status
...failed testing.capture-output ../../../bin.v2/libs/process/test/arguments_test.test/gcc-4.1.2/debug/link-static/arguments_test.run...
...using <p../../../bin.v2/libs/process/test/executable_test.test/gcc-4.1.2/debug/link-static>executable_test...
testing.capture-output ../../../bin.v2/libs/process/test/executable_test.test/gcc-4.1.2/debug/link-static/executable_test.run
====== BEGIN OUTPUT ======
Running 4 test cases...
executable_test.cpp(41): error in "test_find_default": exception boost::filesystem::filesystem_error is expected
*** 1 failure detected in test suite "Master Test Suite"
EXIT STATUS: 201
====== END OUTPUT ======
LD_LIBRARY_PATH=/usr/bin:/usr/lib:/usr/lib32:/usr/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
"../../../bin.v2/libs/process/test/executable_test.test/gcc-4.1.2/debug/link-static/executable_test" > "../../../bin.v2/libs/process/test/executable_test.test/gcc-4.1.2/debug/link-static/executable_test.output" 2>&1
status=$?
echo >> "../../../bin.v2/libs/process/test/executable_test.test/gcc-4.1.2/debug/link-static/executable_test.output"
echo EXIT STATUS: $status >> "../../../bin.v2/libs/process/test/executable_test.test/gcc-4.1.2/debug/link-static/executable_test.output"
if test $status -eq 0 ; then
cp "../../../bin.v2/libs/process/test/executable_test.test/gcc-4.1.2/debug/link-static/executable_test.output" "../../../bin.v2/libs/process/test/executable_test.test/gcc-4.1.2/debug/link-static/executable_test.run"
fi
verbose=0
if test $status -ne 0 ; then
verbose=1
fi
if test $verbose -eq 1 ; then
echo ====== BEGIN OUTPUT ======
cat "../../../bin.v2/libs/process/test/executable_test.test/gcc-4.1.2/debug/link-static/executable_test.output"
echo ====== END OUTPUT ======
fi
exit $status
...failed testing.capture-output ../../../bin.v2/libs/process/test/executable_test.test/gcc-4.1.2/debug/link-static/executable_test.run...
...using <p../../../bin.v2/libs/process/test/process_test.test/gcc-4.1.2/debug/link-static>process_test...
testing.capture-output ../../../bin.v2/libs/process/test/process_test.test/gcc-4.1.2/debug/link-static/process_test.run
====== BEGIN OUTPUT ======
Running 2 test cases...
process_base_test.hpp(84): fatal error in "(test_terminate<Process, Factory>)": critical check !s.exited() failed
*** 1 failure detected in test suite "Master Test Suite"
EXIT STATUS: 201
====== END OUTPUT ======
LD_LIBRARY_PATH=/usr/bin:/usr/lib:/usr/lib32:/usr/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
"../../../bin.v2/libs/process/test/process_test.test/gcc-4.1.2/debug/link-static/process_test" > "../../../bin.v2/libs/process/test/process_test.test/gcc-4.1.2/debug/link-static/process_test.output" 2>&1
status=$?
echo >> "../../../bin.v2/libs/process/test/process_test.test/gcc-4.1.2/debug/link-static/process_test.output"
echo EXIT STATUS: $status >> "../../../bin.v2/libs/process/test/process_test.test/gcc-4.1.2/debug/link-static/process_test.output"
if test $status -eq 0 ; then
cp "../../../bin.v2/libs/process/test/process_test.test/gcc-4.1.2/debug/link-static/process_test.output" "../../../bin.v2/libs/process/test/process_test.test/gcc-4.1.2/debug/link-static/process_test.run"
fi
verbose=0
if test $status -ne 0 ; then
verbose=1
fi
if test $verbose -eq 1 ; then
echo ====== BEGIN OUTPUT ======
cat "../../../bin.v2/libs/process/test/process_test.test/gcc-4.1.2/debug/link-static/process_test.output"
echo ====== END OUTPUT ======
fi
exit $status
...failed testing.capture-output ../../../bin.v2/libs/process/test/process_test.test/gcc-4.1.2/debug/link-static/process_test.run...
...using <p../../../bin.v2/libs/process/test/child_test.test/gcc-4.1.2/debug/link-static>child_test...
testing.capture-output ../../../bin.v2/libs/process/test/child_test.test/gcc-4.1.2/debug/link-static/child_test.run
====== BEGIN OUTPUT ======
Running 5 test cases...
process_base_test.hpp(84): fatal error in "(test_terminate<Process, Factory>)": critical check !s.exited() failed
*** 1 failure detected in test suite "Master Test Suite"
EXIT STATUS: 201
====== END OUTPUT ======
LD_LIBRARY_PATH=/usr/bin:/usr/lib:/usr/lib32:/usr/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
"../../../bin.v2/libs/process/test/child_test.test/gcc-4.1.2/debug/link-static/child_test" > "../../../bin.v2/libs/process/test/child_test.test/gcc-4.1.2/debug/link-static/child_test.output" 2>&1
status=$?
echo >> "../../../bin.v2/libs/process/test/child_test.test/gcc-4.1.2/debug/link-static/child_test.output"
echo EXIT STATUS: $status >> "../../../bin.v2/libs/process/test/child_test.test/gcc-4.1.2/debug/link-static/child_test.output"
if test $status -eq 0 ; then
cp "../../../bin.v2/libs/process/test/child_test.test/gcc-4.1.2/debug/link-static/child_test.output" "../../../bin.v2/libs/process/test/child_test.test/gcc-4.1.2/debug/link-static/child_test.run"
fi
verbose=0
if test $status -ne 0 ; then
verbose=1
fi
if test $verbose -eq 1 ; then
echo ====== BEGIN OUTPUT ======
cat "../../../bin.v2/libs/process/test/child_test.test/gcc-4.1.2/debug/link-static/child_test.output"
echo ====== END OUTPUT ======
fi
exit $status
...failed testing.capture-output ../../../bin.v2/libs/process/test/child_test.test/gcc-4.1.2/debug/link-static/child_test.run...
...using <p../../../bin.v2/libs/process/test/launch_test.test/gcc-4.1.2/debug/link-static>launch_test...
testing.capture-output ../../../bin.v2/libs/process/test/launch_test.test/gcc-4.1.2/debug/link-static/launch_test.run
====== BEGIN OUTPUT ======
Running 11 test cases...
launch_base_test.hpp(75): error in "(test_close_stdin<Launcher, Context, Child>)": check s1.exit_status() == 0 failed [1 != 0]
EXIT STATUS: 141
====== END OUTPUT ======
LD_LIBRARY_PATH=/usr/bin:/usr/lib:/usr/lib32:/usr/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
"../../../bin.v2/libs/process/test/launch_test.test/gcc-4.1.2/debug/link-static/launch_test" > "../../../bin.v2/libs/process/test/launch_test.test/gcc-4.1.2/debug/link-static/launch_test.output" 2>&1
status=$?
echo >> "../../../bin.v2/libs/process/test/launch_test.test/gcc-4.1.2/debug/link-static/launch_test.output"
echo EXIT STATUS: $status >> "../../../bin.v2/libs/process/test/launch_test.test/gcc-4.1.2/debug/link-static/launch_test.output"
if test $status -eq 0 ; then
cp "../../../bin.v2/libs/process/test/launch_test.test/gcc-4.1.2/debug/link-static/launch_test.output" "../../../bin.v2/libs/process/test/launch_test.test/gcc-4.1.2/debug/link-static/launch_test.run"
fi
verbose=0
if test $status -ne 0 ; then
verbose=1
fi
if test $verbose -eq 1 ; then
echo ====== BEGIN OUTPUT ======
cat "../../../bin.v2/libs/process/test/launch_test.test/gcc-4.1.2/debug/link-static/launch_test.output"
echo ====== END OUTPUT ======
fi
exit $status
...failed testing.capture-output ../../../bin.v2/libs/process/test/launch_test.test/gcc-4.1.2/debug/link-static/launch_test.run...
...using <p../../../bin.v2/libs/process/test/status_test.test/gcc-4.1.2/debug/link-static>status_test...
testing.capture-output ../../../bin.v2/libs/process/test/status_test.test/gcc-4.1.2/debug/link-static/status_test.run
====== BEGIN OUTPUT ======
Running 2 test cases...
status_base_test.hpp(49): error in "(test_exit_success<Exit_Status>)": check s.exit_status() == 0 failed [1 != 0]
*** 1 failure detected in test suite "Master Test Suite"
EXIT STATUS: 201
====== END OUTPUT ======
LD_LIBRARY_PATH=/usr/bin:/usr/lib:/usr/lib32:/usr/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
"../../../bin.v2/libs/process/test/status_test.test/gcc-4.1.2/debug/link-static/status_test" > "../../../bin.v2/libs/process/test/status_test.test/gcc-4.1.2/debug/link-static/status_test.output" 2>&1
status=$?
echo >> "../../../bin.v2/libs/process/test/status_test.test/gcc-4.1.2/debug/link-static/status_test.output"
echo EXIT STATUS: $status >> "../../../bin.v2/libs/process/test/status_test.test/gcc-4.1.2/debug/link-static/status_test.output"
if test $status -eq 0 ; then
cp "../../../bin.v2/libs/process/test/status_test.test/gcc-4.1.2/debug/link-static/status_test.output" "../../../bin.v2/libs/process/test/status_test.test/gcc-4.1.2/debug/link-static/status_test.run"
fi
verbose=0
if test $status -ne 0 ; then
verbose=1
fi
if test $verbose -eq 1 ; then
echo ====== BEGIN OUTPUT ======
cat "../../../bin.v2/libs/process/test/status_test.test/gcc-4.1.2/debug/link-static/status_test.output"
echo ====== END OUTPUT ======
fi
exit $status
...failed testing.capture-output ../../../bin.v2/libs/process/test/status_test.test/gcc-4.1.2/debug/link-static/status_test.run...
...using <p../../../bin.v2/libs/process/test/pipeline_test.test/gcc-4.1.2/debug/link-static>pipeline_test...
testing.capture-output ../../../bin.v2/libs/process/test/pipeline_test.test/gcc-4.1.2/debug/link-static/pipeline_test.run
====== BEGIN OUTPUT ======
Running 15 test cases...
launch_base_test.hpp(75): error in "(test_close_stdin<Launcher, Context, Child>)": check s1.exit_status() == 0 failed [1 != 0]
EXIT STATUS: 141
====== END OUTPUT ======
LD_LIBRARY_PATH=/usr/bin:/usr/lib:/usr/lib32:/usr/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
"../../../bin.v2/libs/process/test/pipeline_test.test/gcc-4.1.2/debug/link-static/pipeline_test" > "../../../bin.v2/libs/process/test/pipeline_test.test/gcc-4.1.2/debug/link-static/pipeline_test.output" 2>&1
status=$?
echo >> "../../../bin.v2/libs/process/test/pipeline_test.test/gcc-4.1.2/debug/link-static/pipeline_test.output"
echo EXIT STATUS: $status >> "../../../bin.v2/libs/process/test/pipeline_test.test/gcc-4.1.2/debug/link-static/pipeline_test.output"
if test $status -eq 0 ; then
cp "../../../bin.v2/libs/process/test/pipeline_test.test/gcc-4.1.2/debug/link-static/pipeline_test.output" "../../../bin.v2/libs/process/test/pipeline_test.test/gcc-4.1.2/debug/link-static/pipeline_test.run"
fi
verbose=0
if test $status -ne 0 ; then
verbose=1
fi
if test $verbose -eq 1 ; then
echo ====== BEGIN OUTPUT ======
cat "../../../bin.v2/libs/process/test/pipeline_test.test/gcc-4.1.2/debug/link-static/pipeline_test.output"
echo ====== END OUTPUT ======
fi
exit $status
...failed testing.capture-output ../../../bin.v2/libs/process/test/pipeline_test.test/gcc-4.1.2/debug/link-static/pipeline_test.run...
...using <p../../../bin.v2/libs/process/test/posix_launch_test.test/gcc-4.1.2/debug/link-static>posix_launch_test...
testing.capture-output ../../../bin.v2/libs/process/test/posix_launch_test.test/gcc-4.1.2/debug/link-static/posix_launch_test.run
====== BEGIN OUTPUT ======
Running 26 test cases...
launch_base_test.hpp(75): error in "(test_close_stdin<Launcher, Context, Child>)": check s1.exit_status() == 0 failed [1 != 0]
EXIT STATUS: 141
====== END OUTPUT ======
LD_LIBRARY_PATH=/usr/bin:/usr/lib:/usr/lib32:/usr/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
"../../../bin.v2/libs/process/test/posix_launch_test.test/gcc-4.1.2/debug/link-static/posix_launch_test" > "../../../bin.v2/libs/process/test/posix_launch_test.test/gcc-4.1.2/debug/link-static/posix_launch_test.output" 2>&1
status=$?
echo >> "../../../bin.v2/libs/process/test/posix_launch_test.test/gcc-4.1.2/debug/link-static/posix_launch_test.output"
echo EXIT STATUS: $status >> "../../../bin.v2/libs/process/test/posix_launch_test.test/gcc-4.1.2/debug/link-static/posix_launch_test.output"
if test $status -eq 0 ; then
cp "../../../bin.v2/libs/process/test/posix_launch_test.test/gcc-4.1.2/debug/link-static/posix_launch_test.output" "../../../bin.v2/libs/process/test/posix_launch_test.test/gcc-4.1.2/debug/link-static/posix_launch_test.run"
fi
verbose=0
if test $status -ne 0 ; then
verbose=1
fi
if test $verbose -eq 1 ; then
echo ====== BEGIN OUTPUT ======
cat "../../../bin.v2/libs/process/test/posix_launch_test.test/gcc-4.1.2/debug/link-static/posix_launch_test.output"
echo ====== END OUTPUT ======
fi
exit $status
...failed testing.capture-output ../../../bin.v2/libs/process/test/posix_launch_test.test/gcc-4.1.2/debug/link-static/posix_launch_test.run...
...using <p../../../bin.v2/libs/process/test/posix_status_test.test/gcc-4.1.2/debug/link-static>posix_status_test...
testing.capture-output ../../../bin.v2/libs/process/test/posix_status_test.test/gcc-4.1.2/debug/link-static/posix_status_test.run
====== BEGIN OUTPUT ======
Running 2 test cases...
status_base_test.hpp(49): error in "(test_exit_success<Exit_Status>)": check s.exit_status() == 0 failed [1 != 0]
*** 1 failure detected in test suite "Master Test Suite"
EXIT STATUS: 201
====== END OUTPUT ======
LD_LIBRARY_PATH=/usr/bin:/usr/lib:/usr/lib32:/usr/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
"../../../bin.v2/libs/process/test/posix_status_test.test/gcc-4.1.2/debug/link-static/posix_status_test" > "../../../bin.v2/libs/process/test/posix_status_test.test/gcc-4.1.2/debug/link-static/posix_status_test.output" 2>&1
status=$?
echo >> "../../../bin.v2/libs/process/test/posix_status_test.test/gcc-4.1.2/debug/link-static/posix_status_test.output"
echo EXIT STATUS: $status >> "../../../bin.v2/libs/process/test/posix_status_test.test/gcc-4.1.2/debug/link-static/posix_status_test.output"
if test $status -eq 0 ; then
cp "../../../bin.v2/libs/process/test/posix_status_test.test/gcc-4.1.2/debug/link-static/posix_status_test.output" "../../../bin.v2/libs/process/test/posix_status_test.test/gcc-4.1.2/debug/link-static/posix_status_test.run"
fi
verbose=0
if test $status -ne 0 ; then
verbose=1
fi
if test $verbose -eq 1 ; then
echo ====== BEGIN OUTPUT ======
cat "../../../bin.v2/libs/process/test/posix_status_test.test/gcc-4.1.2/debug/link-static/posix_status_test.output"
echo ====== END OUTPUT ======
fi
exit $status
...failed testing.capture-output ../../../bin.v2/libs/process/test/posix_status_test.test/gcc-4.1.2/debug/link-static/posix_status_test.run...
...failed updating 9 targets...
...skipped 9 targets...
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk