Prechádzať zdrojové kódy

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

git-svn-id: trunk@39390 -
pierre 7 rokov pred
rodič
commit
f36ac3adbd
1 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  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;