Uploaded image for project: 'GMAT'
  1. GMAT
  2. GMT-5871

Line counting for Windows line endings is incorrect on Mac and Linux

    Details

      Description

      Warning and error messages in the log file and message window that count and report line numbers list the wrong number on Linux (and Mac) if the script file that is parsed has Windows line endings. (Conjecture: This happens because the CR and LF ending is counted as separate lines in the Unix derived operating systems.) That (1) leads to user confusion and (2)makes the test system report failures for test cases that look for explicit line numbers in the log file, as is the case for the example shown in the attached image (FRR-40_Antenna/scripts/Antenna_Validation_Mode.script).

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            tgrubb Thomas Grubb added a comment -

            Status 2016-10-21 - No work performed.

            Show
            tgrubb Thomas Grubb added a comment - Status 2016-10-21 - No work performed.
            Hide
            tgrubb Thomas Grubb added a comment -

            Fix put in dev branch, 2016-10-25

            Show
            tgrubb Thomas Grubb added a comment - Fix put in dev branch, 2016-10-25
            Hide
            djcinsb Darrel Conway added a comment -

            Looks good on a single case check. I want to look at the results of a full test system run on Linux for this before closing, and that will need an unrelated fix in the dev -> master merge code.

            Show
            djcinsb Darrel Conway added a comment - Looks good on a single case check. I want to look at the results of a full test system run on Linux for this before closing, and that will need an unrelated fix in the dev -> master merge code.
            Hide
            djcinsb Darrel Conway added a comment -

            Fixed, and closing (but still watching just in case)

            Show
            djcinsb Darrel Conway added a comment - Fixed, and closing (but still watching just in case)

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 1 day
                  1d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified