Menu

#317 broken tests with 32bit windows build and recently updated buildtools 2022 installation

1.0
open
nobody
None
2024-05-27
2024-05-23
Andre Maute
No

I have just yesterday updated my buildtools 2022 installation for my windocker images

For completeness, the 32bit oriented containers still use the outdated cmake installer 'cmake-3.24.3-windows-i386.msi' and outdated git installer 'Git-2.39.1-32-bit.exe'.
But I doubt this should be relevant here.

I use the attached batch file for one-line building and testing the upstream repo.
here is the relevant snippet from my gitlab-ci.yml

  variables:
    CMAKE_BUILD_TYPE: Release
    CMAKE_ARGS: '-A Win32'
    ZINT_REPOSITORY: https://github.com/zint/zint.git
  script:
    - cmd.exe /c zint-test.bat

I see broken tests for aztec and tif. The tests do NOT fail for the 'Debug' build.

1 Attachments

Related

Tickets: #317

Discussion

  • Andre Maute

    Andre Maute - 2024-05-23

    the used batch file for building and testing

    Best Regards
    Andre

     
    • Git Lost

      Git Lost - 2024-05-24

      Thanks Andre, will get back to you shortly on this, regards, Martin

       
      • Git Lost

        Git Lost - 2024-05-27

        As you probably guessed given our previous experience with the MSVC optimizer, it seems something about the inner top/right/bottom/left loops in az_populate_map() was causing it not to emit code for them (or at least emit code that didn't set the AztecMap array correctly - didn't do any real debugging - placing a printf() in any one of the loops made it work correctly for all!).

        Anyway, after some semi-random fiddling got it to compile correctly eventually, so commit [3960df] should "fix" it for now. Let us know how you get on, thanks & regards, Martin

         

        Related

        Commit: [3960df]

        • Andre Maute

          Andre Maute - 2024-05-27

          This ticket can be closed now.

          Thank you very much for the quick fix.

          Kind regards
          Andre

          On 5/27/24 04:31, Git Lost wrote:

          As you probably guessed given our previous experience with the MSVC optimizer, it seems something about the inner top/right/bottom/left loops in az_populate_map() was causing it not to emit code for them (or at least emit code that didn't set the AztecMap array correctly - didn't do any real debugging - placing a printf() in any one of the loops made it work correctly for all!).

          Anyway, after some semi-random fiddling got it to compile correctly eventually, so commit [3960df] should "fix" it for now. Let us know how you get on, thanks & regards, Martin


          [tickets:#317] broken tests with 32bit windows build and recently updated buildtools 2022 installation

          Status: open
          Milestone: 1.0
          Created: Thu May 23, 2024 03:39 PM UTC by Andre Maute
          Last Updated: Fri May 24, 2024 02:35 AM UTC
          Owner: nobody
          Attachments:

          I have just yesterday updated my buildtools 2022 installation for my windocker images

          For completeness, the 32bit oriented containers still use the outdated cmake installer 'cmake-3.24.3-windows-i386.msi' and outdated git installer 'Git-2.39.1-32-bit.exe'.
          But I doubt this should be relevant here.

          I use the attached batch file for one-line building and testing the upstream repo.
          here is the relevant snippet from my gitlab-ci.yml
          variables: CMAKE_BUILD_TYPE: Release CMAKE_ARGS: '-A Win32' ZINT_REPOSITORY: https://github.com/zint/zint.git script: - cmd.exe /c zint-test.bat

          I see broken tests for aztec and tif. The tests do NOT fail for the 'Debug' build.


          Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/zint/tickets/317/

          To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

           

          Related

          Tickets: #317
          Commit: [3960df]


Log in to post a comment.