testexecfw/symbianunittestfw/sutfw/sutfwcore/sutfwtestrunner/src/symbianunittestrunner.cpp
equal
deleted
inserted
replaced
134 |
134 |
135 for ( TInt i = 0; i < aTestDllNames.MdcaCount(); i++ ) |
135 for ( TInt i = 0; i < aTestDllNames.MdcaCount(); i++ ) |
136 { |
136 { |
137 TPtrC16 testDllName( aTestDllNames.MdcaPoint( i ) ); |
137 TPtrC16 testDllName( aTestDllNames.MdcaPoint( i ) ); |
138 RLibrary library; |
138 RLibrary library; |
139 if ( library.Load( testDllName ) != KErrNone ) |
139 TInt ret; |
|
140 ret = library.Load( testDllName ); |
|
141 if ( ret != KErrNone ) |
140 { |
142 { |
141 iUiCallBack.InfoMsg( KFailedToFindDll, testDllName ); |
143 iUiCallBack.InfoMsg( KFailedToFindDll, testDllName ); |
142 SUT_LOG_FORMAT(KFailedToFindDll, &testDllName); |
144 SUT_LOG_FORMAT(KFailedToFindDll, &testDllName); |
143 User::Leave( KErrNotFound ); |
145 //User::Leave( KErrNotFound ); |
|
146 User::Leave( ret ); |
144 } |
147 } |
145 CleanupClosePushL( library ); |
148 CleanupClosePushL( library ); |
146 // The second UID of the dll to be used must be compatible |
149 // The second UID of the dll to be used must be compatible |
147 if ( library.Type()[ 1 ] != KSymbianUnitTestDllUid ) |
150 if ( library.Type()[ 1 ] != KSymbianUnitTestDllUid ) |
148 { |
151 { |