[mapserver-commits] [MapServer/MapServer] c08826: msautotest: add [ASAN_SKIP_LOG] marker for tests w...

Even Rouault noreply at github.com
Mon Mar 25 10:01:01 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/MapServer/MapServer
  Commit: c088263569e0668765b3afba69b27bc79289beed
      https://github.com/MapServer/MapServer/commit/c088263569e0668765b3afba69b27bc79289beed
  Author: Paul Pazderski <paul at ppazderski.de>
  Date:   2024-03-11 (Mon, 11 Mar 2024)

  Changed paths:
    M msautotest/pymod/mstestlib.py

  Log Message:
  -----------
  msautotest: add [ASAN_SKIP_LOG] marker for tests which want to capture stderr

Without the marker if test is run with --run_under_asan the test runner would
append something like '2> asan.log' at the end of the executed command
overriding any stderr redirect from the test itself.
The new marker will suppress this redirect. When used properly errors from
address sanitizer should still be recognizded by those tests because the output
is redirected in the tests result file and will not match the expected output.


  Commit: 25cb4720345d0a7e3b4d474c2c75dbfe62edf072
      https://github.com/MapServer/MapServer/commit/25cb4720345d0a7e3b4d474c2c75dbfe62edf072
  Author: Paul Pazderski <paul at ppazderski.de>
  Date:   2024-03-11 (Mon, 11 Mar 2024)

  Changed paths:
    A msautotest/misc/expected/map2img-argparse-c.txt
    A msautotest/misc/expected/map2img-argparse-d.txt
    A msautotest/misc/expected/map2img-argparse-e.txt
    A msautotest/misc/expected/map2img-argparse-layer_debug.txt
    A msautotest/misc/expected/map2img-argparse-o.txt
    A msautotest/misc/expected/map2img-argparse-s.txt
    A msautotest/misc/map2img-argparse.map
    M src/apps/map2img.c

  Log Message:
  -----------
  map2img: improve error handling for missing option arguments

most options so far simply assumed that the option is followed by the
required number of arguments


  Commit: f4b464f723a90e38637eec567c398596ec419462
      https://github.com/MapServer/MapServer/commit/f4b464f723a90e38637eec567c398596ec419462
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2024-03-25 (Mon, 25 Mar 2024)

  Changed paths:
    A msautotest/misc/expected/map2img-argparse-c.txt
    A msautotest/misc/expected/map2img-argparse-d.txt
    A msautotest/misc/expected/map2img-argparse-e.txt
    A msautotest/misc/expected/map2img-argparse-layer_debug.txt
    A msautotest/misc/expected/map2img-argparse-o.txt
    A msautotest/misc/expected/map2img-argparse-s.txt
    A msautotest/misc/map2img-argparse.map
    M msautotest/pymod/mstestlib.py
    M src/apps/map2img.c

  Log Message:
  -----------
  Merge pull request #7042 from PPazderski/bugfix-map2img-fixArgumentHandling

map2img: improve error handling for missing option arguments


Compare: https://github.com/MapServer/MapServer/compare/12a2fe6beb28...f4b464f723a9

To unsubscribe from these emails, change your notification settings at https://github.com/MapServer/MapServer/settings/notifications


More information about the MapServer-commits mailing list