Fossil

Check-in [8e9cdd24]
Login

Check-in [8e9cdd24]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Make the MSVC batch build tool sub-routine 'fn_UnsetVariable' a bit more robust.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 8e9cdd242c60ecd9751c8534cbdc3eb94c24b867
User & Date: mistachkin 2016-01-28 00:08:55.056
Context
2016-01-28
05:37
Minor style and comment cleanup. Add verify_all_options() to several TH1 test commands. Add 'test-th-source' test command, with test. ... (check-in: f141fbea user: mistachkin tags: trunk)
00:08
Make the MSVC batch build tool sub-routine 'fn_UnsetVariable' a bit more robust. ... (check-in: 8e9cdd24 user: mistachkin tags: trunk)
2016-01-27
01:55
Revise test result summary to include 'ignored' results from tests marked with 'knownBug'. ... (check-in: f77fbed8 user: mistachkin tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to win/buildmsvc.bat.
257
258
259
260
261
262
263

264
265

266
267
268
269
270
271
272
    SET LIB=%PFILES_SDK71A%\Microsoft SDKs\Windows\7.1A\Lib;%LIB%
  )
  CALL :fn_UnsetVariable PFILES_SDK71A
  SET NMAKE_ARGS=%NMAKE_ARGS% FOSSIL_ENABLE_WINXP=1
  GOTO :EOF

:fn_UnsetVariable

  IF NOT "%1" == "" (
    SET %1=

    CALL :fn_ResetErrorLevel
  )
  GOTO :EOF

:fn_ResetErrorLevel
  VERIFY > NUL
  GOTO :EOF







>
|
|
>







257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
    SET LIB=%PFILES_SDK71A%\Microsoft SDKs\Windows\7.1A\Lib;%LIB%
  )
  CALL :fn_UnsetVariable PFILES_SDK71A
  SET NMAKE_ARGS=%NMAKE_ARGS% FOSSIL_ENABLE_WINXP=1
  GOTO :EOF

:fn_UnsetVariable
  SET VALUE=%1
  IF DEFINED VALUE (
    SET %VALUE%=
    SET VALUE=
    CALL :fn_ResetErrorLevel
  )
  GOTO :EOF

:fn_ResetErrorLevel
  VERIFY > NUL
  GOTO :EOF