INTEGRATION: CWS qadev19 (1.15.20); FILE MERGED
2004/09/22 08:12:35 lla 1.15.20.1: #i34302# testshl2 will fail, if library can't load
This commit is contained in:
parent
b027bcfca3
commit
d355428336
1 changed files with 14 additions and 5 deletions
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: testshl.cxx,v $
|
||||
*
|
||||
* $Revision: 1.16 $
|
||||
* $Revision: 1.17 $
|
||||
*
|
||||
* last change: $Author: rt $ $Date: 2004-10-28 16:21:49 $
|
||||
* last change: $Author: pjunck $ $Date: 2004-11-02 10:25:28 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -295,7 +295,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
|
|||
|
||||
if ( opt.hasOpt("-verbose") )
|
||||
{
|
||||
fprintf(stderr, "testshl2 $Revision: 1.16 $\n");
|
||||
fprintf(stderr, "testshl2 $Revision: 1.17 $\n");
|
||||
}
|
||||
|
||||
if ( opt.hasOpt("-endless")) // this exists only for self test issues
|
||||
|
@ -344,8 +344,17 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
|
|||
|
||||
AutomaticRegisterHelper aHelper(suLibraryName, opt /*, &aJobs*/);
|
||||
|
||||
// start the tests
|
||||
nExitCode = starttest(opt, aHelper);
|
||||
if (aHelper.isOkToStartTests())
|
||||
{
|
||||
// start the tests
|
||||
nExitCode = starttest(opt, aHelper);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
fprintf(stderr, "error: The library '%s' can't initialised, must quit.\n", opt.getFirstParam().getStr());
|
||||
nExitCode = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue