| Summary: | Extra space in build command | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Marc Khouzam <marc.khouzam> | ||||
| Component: | cdt-build | Assignee: | Marc Khouzam <marc.khouzam> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Andrew Gvozdev <angvoz.dev> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | cdtdoug | ||||
| Version: | 8.0 | ||||||
| Target Milestone: | 8.0.2 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Marc Khouzam
Created attachment 205138 [details]
Proposed fix
Here is the simple fix which simply does not modify the existing arguments if the command to be added is empty.
If this fix makes sense, I'd like to apply it to the cdt_8_0 branch also.
The fix looks OK to me. I also ran AllManagedBuildTests - they all passed. (In reply to comment #2) > The fix looks OK to me. I also ran AllManagedBuildTests - they all passed. Thanks Andrew! For me to know for next time, can I run AllManagedBuildTests on Windows or on Linux? I ran them on Windows (my home machine) and I see 8 errors before and after the patch. I've committed the fix to both master and cdt_8_0 *** cdt git genie on behalf of Marc Khouzam ***
Bug 360846: Extra space in build command
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=04d4f11b532a5fb10928f106ffad50da7514da15
*** cdt git genie on behalf of Marc Khouzam ***
Bug 360846: Extra space in build command
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=2f2955595596ceb8141f6c82653612f80c87525a
(In reply to comment #3) > (In reply to comment #2) > For me to know for next time, can I run AllManagedBuildTests on Windows or on > Linux? I ran them on Windows (my home machine) and I see 8 errors before and > after the patch. They are supposed to pass both on Windows and Linux. I ran them on Linux a while ago, but Hudson does every night. I ran on Win XP and at first I had interference from our homegrown plugins, so I disabled them as target plugins in launch configuration. After that all passed. What kind of errors are you having? If it is a mismatch in generated makefile it is best to check console output where the expected/actual line is printed. (In reply to comment #6) > They are supposed to pass both on Windows and Linux. I ran them on Linux a > while ago, but Hudson does every night. I ran on Win XP and at first I had > interference from our homegrown plugins, so I disabled them as target plugins > in launch configuration. After that all passed. I just ran them on Linux and everything passed (119 tests). On Windows 7, there was 120 tests (one more test... weird), and some of them failed. But my setup on Windows is surely to blame as I almost never use it. |