Re: Darwin 8.6.0 (Mac OS X 10.4.6)

[email protected] (Dominic Dunlop) Sat, 13 May 2006 18:54:35 +0200
Newsgroups perl.daily-build
Message-ID <[email protected]>
On 2006=9605=9613, at 17:44, Abe Timmerman wrote:

> If you know of a way to translate that "PowerMacX,Y" to something =20
> 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-=20=

specific information by parsing this output (or the corresponding XML =20=

-- don't worry: I won't haul in modules to do it). How would you like =20=

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 =20
to be out of the way by the time I start using the system in anger =20
each day, I'll be running 32-bit and 64-bit smokes on alternate =20
nights. If I can, I'll find a way of distinguishing between the two =20
in the reports' subject lines.
--=20
Dominic Dunlop