[PATCH 00/25] migration to long types

Eric Pouech eric.pouech at gmail.com
Sat Mar 5 05:06:28 CST 2022


migrating dlls/oleaut32/tests required lot more effort than usual <g>
- the current code didn't use the generic integer scheme of the rest of the
  file (likely because of LONG64 printf limitations)
  => test code is now converted to the generic integer scheme (making it
  a bit simpler) (I found it more straightforward to do it that way than
  trying to maintain a scheme that was meant to disapear at some time)
- the long/LONG/int mixup showed up in automation as well.
  => most of the tests routines have been converted int => LONG
  (I didn't include the migration to long, which needs to be done *after*
   enabling LONG as long, please let me know if it's to be done)

No regressions have been seen here with winetest.
Tested also on testbot without regression.
But review is more than welcomed!

The rest of the changes are "as usual".

A+
---

Eric Pouech (25):
      dlls/kernel32/tests/path.c: enable compilation with long types
      dlls/kernel32/tests/pipe.c: enable compilation with long types
      dlls/kernel32/tests/process.c: enable compilation with long types
      dlls/kernel32/tests/profile.c: enable compilation with long types
      dlls/oleaut32/tests: get rid of EXPECTI864 macro (vartype.c)
      dlls/oleaut32/tests: convert I8 to current integer test scheme (vartype.c)
      dlls/oleau32/tests: convert I8Copy to existing integer test scheme (vartype.c)
      dlls/oleaut32/tests: convert UI8 to existing integer test scheme (vartype.c)
      dlls/oleaut32/tests: convert UI8Copy to existing integer test scheme (vartype.c)
      dlls/oleaut32/tests: ensure (re)definition of EXPECTRES for all integer types (vartype.c)
      dlls/oleaut32/tests: use correct integral type
      dlls/oleaut32/tests: enable compilation with long types
      dlls/shdocvw/tests: enable compilation with long types
      dlls/shell32/tests: use correct integral type
      dlls/shell32/tests: enable compilation with long types
      dlls/shlwapi/tests: enable compilation with long types
      dlls/slc/tests: enable compilation with long types
      dlls/spoolss/tests: enable compilation with long types
      dlls/sti/tests: enable compilation with long types
      dlls/sxs/tests: enable compilation with long types
      dlls/tapi32/tests: enable compilation with long types
      dlls/taskschd/tests: enable compilation with long types
      dlls/twain_32/tests: enable compilation with long types
      dlls/uianimation/tests: enable compilation with long types
      dlls/uiautomationcore/tests: enable compilation with long types


 dlls/kernel32/tests/path.c                 |  401 ++---
 dlls/kernel32/tests/pipe.c                 |  949 ++++++------
 dlls/kernel32/tests/process.c              |  939 ++++++------
 dlls/kernel32/tests/profile.c              |  347 ++---
 dlls/oleaut32/tests/Makefile.in            |    1 -
 dlls/oleaut32/tests/dispatch.c             |   52 +-
 dlls/oleaut32/tests/olefont.c              |  124 +-
 dlls/oleaut32/tests/olepicture.c           |  268 ++--
 dlls/oleaut32/tests/safearray.c            |  426 +++---
 dlls/oleaut32/tests/tmarshal.c             |  503 +++---
 dlls/oleaut32/tests/tmarshal.idl           |   12 +-
 dlls/oleaut32/tests/typelib.c              | 1596 ++++++++++----------
 dlls/oleaut32/tests/usrmarshal.c           |  324 ++--
 dlls/oleaut32/tests/varformat.c            |   60 +-
 dlls/oleaut32/tests/vartest.c              |  336 ++---
 dlls/oleaut32/tests/vartype.c              |  648 ++++----
 dlls/shdocvw/tests/Makefile.in             |    1 -
 dlls/shdocvw/tests/shdocvw.c               |   46 +-
 dlls/shdocvw/tests/shortcut.c              |   12 +-
 dlls/shell32/tests/Makefile.in             |    1 -
 dlls/shell32/tests/appbar.c                |   18 +-
 dlls/shell32/tests/assoc.c                 |   80 +-
 dlls/shell32/tests/autocomplete.c          |   76 +-
 dlls/shell32/tests/brsfolder.c             |   34 +-
 dlls/shell32/tests/ebrowser.c              |  314 ++--
 dlls/shell32/tests/msg.h                   |    8 +-
 dlls/shell32/tests/recyclebin.c            |    6 +-
 dlls/shell32/tests/shelldispatch.c         |  438 +++---
 dlls/shell32/tests/shelllink.c             |  274 ++--
 dlls/shell32/tests/shellole.c              |   74 +-
 dlls/shell32/tests/shellpath.c             |  260 ++--
 dlls/shell32/tests/shfldr_special.c        |   66 +-
 dlls/shell32/tests/shlexec.c               |  202 +--
 dlls/shell32/tests/shlfileop.c             |  287 ++--
 dlls/shell32/tests/shlfolder.c             | 1086 ++++++-------
 dlls/shell32/tests/shlview.c               |  194 +--
 dlls/shlwapi/tests/Makefile.in             |    1 -
 dlls/shlwapi/tests/assoc.c                 |   50 +-
 dlls/shlwapi/tests/clist.c                 |    4 +-
 dlls/shlwapi/tests/clsid.c                 |   10 +-
 dlls/shlwapi/tests/istream.c               |  258 ++--
 dlls/shlwapi/tests/ordinal.c               |  306 ++--
 dlls/shlwapi/tests/path.c                  |  210 +--
 dlls/shlwapi/tests/shreg.c                 |  104 +-
 dlls/shlwapi/tests/string.c                |   52 +-
 dlls/shlwapi/tests/thread.c                |   34 +-
 dlls/shlwapi/tests/url.c                   |  276 ++--
 dlls/slc/tests/Makefile.in                 |    1 -
 dlls/slc/tests/slc.c                       |   18 +-
 dlls/spoolss/tests/Makefile.in             |    1 -
 dlls/spoolss/tests/spoolss.c               |    6 +-
 dlls/sti/tests/Makefile.in                 |    1 -
 dlls/sti/tests/sti.c                       |   20 +-
 dlls/sxs/tests/Makefile.in                 |    1 -
 dlls/sxs/tests/cache.c                     |   70 +-
 dlls/sxs/tests/name.c                      |   66 +-
 dlls/sxs/tests/sxs.c                       |   38 +-
 dlls/tapi32/tests/Makefile.in              |    1 -
 dlls/tapi32/tests/tapi.c                   |   14 +-
 dlls/taskschd/tests/Makefile.in            |    1 -
 dlls/taskschd/tests/scheduler.c            |  618 ++++----
 dlls/twain_32/tests/Makefile.in            |    1 -
 dlls/twain_32/tests/dsm.c                  |   42 +-
 dlls/uianimation/tests/Makefile.in         |    1 -
 dlls/uianimation/tests/uianimation.c       |   26 +-
 dlls/uiautomationcore/tests/Makefile.in    |    1 -
 dlls/uiautomationcore/tests/uiautomation.c |   80 +-
 67 files changed, 6347 insertions(+), 6428 deletions(-)




More information about the wine-devel mailing list