mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-18 20:39:43 +02:00
* When no TestPath is given, use the default. The ExpandFileName avoided this
git-svn-id: trunk@35768 -
This commit is contained in:
parent
d1d1c5a7bd
commit
e5be5bd460
@ -13,7 +13,8 @@ uses
|
||||
CustApp,
|
||||
process,
|
||||
fpmkunit,
|
||||
pkgFppkg, fprepos;
|
||||
pkgFppkg,
|
||||
fprepos;
|
||||
|
||||
type
|
||||
|
||||
@ -134,7 +135,7 @@ begin
|
||||
if FFPCSourcePath<>'' then
|
||||
FFPCSourcePath := ExpandFileName(FFPCSourcePath);
|
||||
FStartCompiler := CustomApplication.GetOptionValue('s','startcompiler');
|
||||
FTestPath := ExpandFileName(CustomApplication.GetOptionValue('t','testpath'));
|
||||
FTestPath := CustomApplication.GetOptionValue('t','testpath');
|
||||
if FTestPath='' then
|
||||
FTestPath := IncludeTrailingPathDelimiter(ConcatPaths([ExtractFilePath(ParamStr(0)),'testroot']))
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user