Browse Source

* When no TestPath is given, use the default. The ExpandFileName avoided this

git-svn-id: trunk@35768 -
joost 8 years ago
parent
commit
e5be5bd460
1 changed files with 3 additions and 2 deletions
  1. 3 2
      packages/fppkg/tests/fullfpcinstallationtests.pas

+ 3 - 2
packages/fppkg/tests/fullfpcinstallationtests.pas

@@ -13,7 +13,8 @@ uses
   CustApp,
   CustApp,
   process,
   process,
   fpmkunit,
   fpmkunit,
-  pkgFppkg, fprepos;
+  pkgFppkg,
+  fprepos;
 
 
 type
 type
 
 
@@ -134,7 +135,7 @@ begin
   if FFPCSourcePath<>'' then
   if FFPCSourcePath<>'' then
     FFPCSourcePath := ExpandFileName(FFPCSourcePath);
     FFPCSourcePath := ExpandFileName(FFPCSourcePath);
   FStartCompiler := CustomApplication.GetOptionValue('s','startcompiler');
   FStartCompiler := CustomApplication.GetOptionValue('s','startcompiler');
-  FTestPath := ExpandFileName(CustomApplication.GetOptionValue('t','testpath'));
+  FTestPath := CustomApplication.GetOptionValue('t','testpath');
   if FTestPath='' then
   if FTestPath='' then
     FTestPath := IncludeTrailingPathDelimiter(ConcatPaths([ExtractFilePath(ParamStr(0)),'testroot']))
     FTestPath := IncludeTrailingPathDelimiter(ConcatPaths([ExtractFilePath(ParamStr(0)),'testroot']))
   else
   else