anchor.diff:  if %app_count% leq 90 (
     echo WARNING: only %app_count% applications found ! Expected at least 90
   )
  +call :check_python_wrapping
   
   call :nb_report_lines
   if %nb_report_lines_out% gtr %REF_SIZE% (
  -echo Check 2/3 : FAIL
  -) else (
  -echo Check 2/3 : PASS
  +  echo Check 2/3 : FAIL
  +) else (
  +  echo Check 2/3 : PASS
   )
   set REF_SIZE=%nb_report_lines_out%
  -
  +:: -----------------------------------------------------------------------------------
   rem Check 3 : check monteverdi & mapla
  -
  -
  -endlocal
  -goto :eof
  -
  -rem functions :
  +call :check_desktop_app monteverdi
  +call :check_desktop_app mapla 20
  +
  +call :nb_report_lines
  +if %nb_report_lines_out% gtr %REF_SIZE% (
  +  echo Check 3/3 : FAIL
  +) else (
  +  echo Check 3/3 : PASS
  +)
  +
  +if /i not -%1-==-/q- (
  +  goto :skip_restore_error
  +)
  +if %DONTSHOWUI_VALUE% equ 0 call :setDontShowUI 0
  +:skip_restore_error
  +del pid.log
  +del tmp.log
  +endlocal
  +goto :eof
  +
  +::########################[ FUNCTIONS ]##################################
   :check_binary
   setlocal
   type NUL > tmp.log
  
positive.code: for /F "TOKENS=1" %%a in ('type pid.log ^| findstr [0-9]') do set output=%%a
  endlocal & set child_pid=%output%
  goto :eof
  
negative.code: for /F "TOKENS=1" %%b in ('type pid.log ^| findstr [0-9]') do set CURRENT_PID=%%b
  
  :: setup the otbenv
  call otbenv.cmd
  
  del selftest_report.log
  type NUL > selftest_report.log
  call :nb_report_lines
  set REF_SIZE=%nb_report_lines_out%
  :: -----------------------------------------------------------------------------------
  rem Check 1 : check binaries
  for /R %%i in (*.dll) do (
    call :check_binary %%i
  )
  for %%i in (bin\mapla.exe,bin\monteverdi.exe,bin\otbApplicationLauncherCommandLine.exe,bin\otbApplicationLauncherQt.exe) do (
    call :check_binary %%i
  )
  call :check_binary lib\python\_otbApplication.pyd
  
  call :nb_report_lines
  if %nb_report_lines_out% gtr %REF_SIZE% (
    echo Check 1/3 : FAIL
  ) else (
    echo Check 1/3 : PASS
  )
  set REF_SIZE=%nb_report_lines_out%
  :: -----------------------------------------------------------------------------------
  rem Check 2 : check applications and Python wrapping
  set /a app_count=0
  for /R %%i in (lib\otb\applications\otbapp_*.dll) do (
  