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

Qt autotests have environment passed to their CLI invocation incorrectly

XMLWordPrintable

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

      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes