Skip to content

gobject/tests: Fix running on 32-bit Windows

Chun-wei Fan requested to merge fix-custom-dispatch-32bit-windows into main

Hi,

In 32-bit Windows builds, the custom-dispatch test is blocked from running by UAC as it believes that it will alter Windows, so in order to fix this, we need to embed an application manifest for 32-bit builds to pacify UAC in order that it will run.

So, this means:

  • We need a script to generate the application manifest, in which we can use the copy from the GTK source tree.
  • Update gobject/tests/meson.build for 32-bit Windows builds to generate the application manifest and embed it in custom-dispatch.exe using the resource compiler.

With blessings, thank you!

Merge request reports