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

CONFIG += cmdline testcase breaks path in make check rule

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.14.1, 5.15.0 Alpha
    • 5.12.2, 5.12.6, 5.13.2, 5.14.0 Beta3
    • Build tools: qmake
    • None
    • macOS
    • d60b71d635a038e3fe8b061b0ac3f2aad70227a5 (qt/qtbase/5.14)

    Description

      When using CONFIG with testcase and cmdline, if cmdline is specified before testcase, the check rule will have an incorrect path to the binary that references an app bundle. If testcase is specified before cmdline, it works.

       

      Using CONFIG += cmdline testcase  leads to Makefiles with the following incorrect path referencing an app bundle:

      check: first
       /path/to/target_wrapper.sh $(TESTRUNNER) ./$(QMAKE_TARGET).app/Contents/MacOS/$(QMAKE_TARGET) $(TESTARGS)
      

       

      Using CONFIG += testcase cmdline leads to Makefiles with the following statement with the correct path the binary: 

      check: first
        /path/to/target_wrapper.sh $(TESTRUNNER) ./$(QMAKE_TARGET) $(TESTARGS)
      

       

       

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            linville Aaron Linville
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes