equal
deleted
inserted
replaced
180 |
180 |
181 CleanupStack::PushL(newAction); |
181 CleanupStack::PushL(newAction); |
182 User::LeaveIfError(aTestSpec.AddNextTest(newAction)); |
182 User::LeaveIfError(aTestSpec.AddNextTest(newAction)); |
183 CleanupStack::Pop(newAction); |
183 CleanupStack::Pop(newAction); |
184 |
184 |
185 if(iniFile) |
|
186 { |
|
187 CleanupStack::PopAndDestroy(1); |
|
188 } |
|
189 } |
185 } |
190 } |
186 } |
191 |
187 |
192 EXPORT_C TBool CScriptSetup::InitialiseL(RFs &aFs, const TDesC& aDefaultScript, const TDesC& aDefaultLog, TBool aUseCommandLine) |
188 EXPORT_C TBool CScriptSetup::InitialiseL(RFs &aFs, const TDesC& aDefaultScript, const TDesC& aDefaultLog, TBool aUseCommandLine) |
193 { |
189 { |
196 iTefScript = EFalse; |
192 iTefScript = EFalse; |
197 |
193 |
198 if (aUseCommandLine) |
194 if (aUseCommandLine) |
199 { |
195 { |
200 iScriptPath = GetArgument(); |
196 iScriptPath = GetArgument(); |
|
197 |
201 if(iScriptPath->Length()==0) |
198 if(iScriptPath->Length()==0) |
202 { |
199 { |
203 delete iScriptPath; |
200 delete iScriptPath; |
204 iScriptPath = NULL; |
201 iScriptPath = NULL; |
205 } |
202 } |