Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-44183

Qt autotests have environment passed to their CLI invocation incorrectly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.4.2
    • 5.4.0
    • Build System
    • None
    • 3fc27e7835b0a058c991c115cea53a4377f556fa

    Description

      Qt autotests are invoked incorrectly - notice the environment variables are applied to the `cd ..` command instead of the command running the auto test as they should be.

      QT_PLUGIN_PATH=/Users/jakepetroules/OpenSource/qt/qtbase/plugins DYLD_FRAMEWORK_PATH=/Users/jakepetroules/OpenSource/qt/qtbase/lib${DYLD_FRAMEWORK_PATH:+:$DYLD_FRAMEWORK_PATH} cd .. &&  ./tst_qobject.app/Contents/MacOS/tst_qobject 
      dyld: Library not loaded: @rpath/QtNetwork.framework/Versions/5/QtNetwork
        Referenced from: /Users/jakepetroules/OpenSource/qt/qtbase/tests/auto/corelib/kernel/qobject/./tst_qobject.app/Contents/MacOS/tst_qobject
        Reason: image not found
      /bin/sh: line 1: 51480 Trace/BPT trap: 5       ./tst_qobject.app/Contents/MacOS/tst_qobject

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-44183
          # Subject Branch Project Status CR V

          Activity

            People

              buddenha Oswald Buddenhagen
              jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes