| Title | Test output always goes to mps-XXXXXX.log on some platforms |
| Status | closed |
| Priority | optional |
| Assigned user | Gareth Rees |
| Organization | Ravenbrook |
| Description | The output of each MPS test run is supposed to go to a different temporary log file. But on FreeBSD [1], it always goes to mps-XXXXXX.log. |
| Analysis | That's because code/comm.gmk says: OUTPUT=$$(mktemp /tmp/mps-XXXXXX.log); which works on Linux [2], but not on OS X and FreeBSD, where the Xs have to be at the end of the pattern. |
| How found | customer |
| Evidence | [1] <https://jenkins.opendylan.org/view/MPS/job/mps-freebsd-x86/2/console>[2] < https://jenkins.opendylan.org/view/MPS/job/mps-linux-precise-x86_64/2/console> |
| Created by | Gareth Rees |
| Created on | 2013-05-06 19:00:22 |
| Last modified by | Gareth Rees |
| Last modified on | 2013-05-06 19:01:25 |
| History | 2013-05-06 GDR Created. |
| Change | Effect | Date | User | Description |
|---|---|---|---|---|
| 181562 | closed | 2013-05-06 19:01:25 | Gareth Rees | Put XXXXXX at the end of the pattern argument to mktemp, so that it works on FreeBSD and OS X. |