Explorar o código

Use GetProcessId number for UniqueSuffix if -L is used without parameter

git-svn-id: trunk@39390 -
pierre %!s(int64=7) %!d(string=hai) anos
pai
achega
f36ac3adbd
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      tests/utils/dotest.pp

+ 2 - 0
tests/utils/dotest.pp

@@ -1613,6 +1613,8 @@ procedure getargs;
 
      'L' : begin
              UniqueSuffix:=Para;
+             if UniqueSuffix='' then
+               UniqueSuffix:=toStr(system.GetProcessID);
            end;
 
      'M' : EmulatorName:=Para;