[build/regression testing] runtime failures

Is there any way to see a run command in case test fails at runtime? The same as we could see compiler command line if it fails at compile time Gennadiy

Somewhere in the E.U., le 24/03/2005 Bonjour In article <d1smb2$tip$1@sea.gmane.org>, "Gennadiy Rozental" <gennadiy.rozental@thomson.com> wrote:
Is there any way to see a run command in case test fails at runtime? The same as we could see compiler command line if it fails at compile time
Gennadiy
I do not know the answer to your question, but I would like to add a request also dealing with runtime failures. Currently either a test passes or it fails. I'd like finer granularity. For instance, at least for my libraries, it may happen that "enough" functionality passes that I would like them to show as "pass", while at the same time not *everything* passes, so I would like to warn prospective users. For instance, without template templates, some specializations of some special functions will not be defined for some types of variables, but they are only infrequently likely to be used, or due to deficiencies in the implementation of standard library special functions, accuracy of my library's special functions may suffer for some types (such as "long double"). Currently I use messages output by the test suite to inform about this state of things, but this is not reflected in the compiler status chart. Merci Hubert Holin

Gennadiy Rozental writes:
Is there any way to see a run command in case test fails at runtime? The same as we could see compiler command line if it fails at compile time
Depends on what exactly you want to see. The "command line" is somewhat complicated; for instance: C:\Projects\results\bin\boost\libs\test\test\test_fp_comparisons.test\vc-7_1\debug\threading-multi\test_fp_comparisons.exe > C:\Projects\results\bin\boost\libs\test\test\test_fp_comparisons.test\vc-7_1\debug\threading-multi\test_fp_comparisons.output 2>&1 set status=%ERRORLEVEL% echo. >> C:\Projects\results\bin\boost\libs\test\test\test_fp_comparisons.test\vc-7_1\debug\threading-multi\test_fp_comparisons.output echo EXIT STATUS: %status% >> C:\Projects\results\bin\boost\libs\test\test\test_fp_comparisons.test\vc-7_1\debug\threading-multi\test_fp_comparisons.output if %status% EQU 0 ( copy C:\Projects\results\bin\boost\libs\test\test\test_fp_comparisons.test\vc-7_1\debug\threading-multi\test_fp_comparisons.output C:\Projects\results\bin\boost\libs\test\test\test_fp_comparisons.test\vc-7_1\debug\threading-multi\test_fp_comparisons.run ) set verbose=1 if %status% NEQ 0 ( set verbose=0 ) if %verbose% EQU 0 ( echo ====== BEGIN OUTPUT ====== type C:\Projects\results\bin\boost\libs\test\test\test_fp_comparisons.test\vc-7_1\debug\threading-multi\test_fp_comparisons.output echo ====== END OUTPUT ====== ) exit %status% Which part of it is of your interest? -- Aleksey Gurtovoy MetaCommunications Engineering

"Aleksey Gurtovoy" <agurtovoy@meta-comm.com> wrote in message news:m11xa5vy7x.fsf@tulip.office.meta...
Gennadiy Rozental writes:
Is there any way to see a run command in case test fails at runtime? The same as we could see compiler command line if it fails at compile time
Depends on what exactly you want to see. The "command line" is somewhat complicated; for instance:
Everything. And I mean here (pages like below): http://tinyurl.com/3rkc9 or http://www.meta-comm.com/engineering/boost-regression/cvs-head/developer/out... Gennadiy
participants (3)
-
Aleksey Gurtovoy
-
Gennadiy Rozental
-
Hubert Holin