MPS issue job003472

TitleTest output always goes to mps-XXXXXX.log on some platforms
Assigned userGareth Rees
DescriptionThe 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.
AnalysisThat'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 foundcustomer
Evidence[1] <>
[2] <>
Created byGareth Rees
Created on2013-05-06 19:00:22
Last modified byGareth Rees
Last modified on2013-05-06 19:01:25
History2013-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.