Qpid
  1. Qpid
  2. QPID-3870

C++ tests based on python don't always have correct PYTHONPATH on Windows

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.15
    • Fix Version/s: 0.15
    • Component/s: Python Test Suite
    • Labels:
      None
    • Environment:

      Windows

      Description

      When new python support modules are added for tests, sometimes they are in new directories and the Windows scripts don't always pick this up. The scripts set PYTHONPATH in an ad-hoc way and don't use a central place for this setup as the Linux build does (test_env.sh) although the structure is there to generate test_env.ps1 as well. The scripts that require python support should get their setup from test_env.ps1 instead of hand-coding the info.

      Recently, this affected the python_tests, acl_tests, store_tests.

        Activity

        Steve Huston created issue -
        Hide
        Steve Huston added a comment -

        Fixed on trunk r1293340.

        Show
        Steve Huston added a comment - Fixed on trunk r1293340.
        Steve Huston made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Chuck Rolke added a comment -

        Steve,

        Your checkin didn't include the file cpp/src/tests/test_env.ps1

        Regards,
        Chuck

        Show
        Chuck Rolke added a comment - Steve, Your checkin didn't include the file cpp/src/tests/test_env.ps1 Regards, Chuck
        Hide
        Steve Huston added a comment -

        Oops, sorry, Chuck. I just added test_env.ps1.in at r1294284. The cmake configure builds test_env.ps1 from that.

        Show
        Steve Huston added a comment - Oops, sorry, Chuck. I just added test_env.ps1.in at r1294284. The cmake configure builds test_env.ps1 from that.

          People

          • Assignee:
            Steve Huston
            Reporter:
            Steve Huston
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development