On 2006–05–13, at 17:44, Abe Timmerman wrote:
If you know of a way to translate that "PowerMacX,Y" to something
like G[345]
(without hardcoding it), that would be nice.
How about
$ system_profiler SPHardwareDataType
Hardware:
Hardware Overview:
Machine Name: iMac G5
Machine Model: PowerMac8,1
CPU Type: PowerPC G5 (3.0)
Number Of CPUs: 1
CPU Speed: 1.6 GHz
L2 Cache (per CPU): 512 KB
Memory: 1 GB
Bus Speed: 533 MHz
Boot ROM Version: 5.2.2f2
Serial Number: W84460SEPP6
I'm looking into patching Test::Smoke::Sysinfo to get better platform-
specific information by parsing this output (or the corresponding XML
-- don't worry: I won't haul in modules to do it). How would you like
fields from the above to be presented on the Subject line?
And if this is a G5, can you also plan a smoke for -Duse64bitall?
Yes, that was the point of the original mail: because I want things
to be out of the way by the time I start using the system in anger
each day, I'll be running 32-bit and 64-bit smokes on alternate
nights. If I can, I'll find a way of distinguishing between the two
in the reports' subject lines.
--
Dominic Dunlop