Ticket #4519 (closed defect: fixed)
[with patch, positive review] problem with build code
| Reported by: | craigcitro | Owned by: | craigcitro |
|---|---|---|---|
| Priority: | blocker | Milestone: | sage-3.2 |
| Component: | build | Keywords: | |
| Cc: | Author(s): | ||
| Report Upstream: | Reviewer(s): | ||
| Merged in: | Work issues: |
Description
There's a problem with the build code that was first introduced by #4377. Here's an example of how to see this: pick your favorite .pyx file (I was using gen.pyx), and break it -- just make some syntax error, and save. Now do a sage -br -- you see that it says there's an error ... but then it still runs sage! Oops.
The underlying problem is that if we pass back a different exit code (in the case I was running into, it was 256), the python setup.py install still returns 0.
The attached patch fixes the trouble. Is there a way to test something like this?
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

