Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-7819

ctest: diff order unintuitive

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • High
    • Resolution: Fixed
    • None
    • 6.06/00, 6.08/00
    • Testing
    • None
    • all

    Description

      Hi,

      It seems that the order of the diff is the reverse of the intuitive one, for example

      ctest -R roottest-root-rint-TabCom
      .....
      562: -- BEGIN ERRDIFF OUTPUT --
      562: --- /opt/build/root_builds/roottest_cmake/root/rint/roottest-root-rint-TabCom.err	Tue Nov 24 14:28:13 2015
      562: +++ /Users/pcanal/root_working/code/roottest.master/root/rint/TabCom.eref	Mon Nov  9 14:24:34 2015
      562: @@ -1,4 +1,4 @@
      562: -input_line_11:2:3:error:useofundeclaredidentifier'TObj'
      562: +input_line_10:2:3:error:useofundeclaredidentifier'TObj'
      562:  (TObj)
      562:  ^
      562:  ROOT_prompt_1:1:--:error:nomembernamed'k'in'TObject'
      562: 
      562: -- END ERRDIFF OUTPUT --


      where the diff command looks it is:

      diff actual_output  reference_output

      where the reverse is more natural (as it send shows the line added compared tot he reference as a +, for example).

      Thanks,
      Philippe.

      Attachments

        Activity

          People

            mato Pere Mato Vila
            pcanal Philippe Canal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Actual End: