Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-17131

jom /k runs dependants after failed dependency

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Qt Creator 4.3.0-beta1
    • Qt Creator 4.1.0
    • Jom
    • None
    • 3992c478749a2256f13016a74200fc9d73158507

    Description

      jom /k runs dependant targets after a failed dependency. This does not match what gmake -k or nmake /k are doing and it does not make sense: in the best case, the dependant target will also fail, in the worst case, it will produce a corrupt result.

      Consider the following makefile:

      foo:
      	echo foo
      	cmd /c exit 1
      
      bar: foo
      	echo bar
      
      >nmake /F test.make /K bar
      
      Microsoft (R) Program Maintenance Utility Version 14.00.23918.0
      Copyright (C) Microsoft Corporation.  All rights reserved.
      
              echo foo
      foo
              cmd /c exit 1
      NMAKE : warning U4010: 'foo' : build failed; /K specified, continuing ...
      NMAKE : warning U4011: 'bar' : not all dependents available; target not built
      

      This is what I expect.

      >jom /F test.make /K bar
      
      jom 1.1.1 - empower your cores
      
              echo foo
      foo
              cmd /c exit 1
      jom: E:\brunodf\jom\test.make [foo] Error 1
              echo bar
      bar
      

      Running target bar is unexpected here.

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            bdf Bruno De Fraine
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes