os/mac/hardware: add Skylake CPU.
Closes Homebrew/homebrew#48781. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
051cd36046
commit
37e423ebb2
@ -48,6 +48,8 @@ module MacCPUs
|
||||
:haswell
|
||||
when 0x582ed09c # Broadwell
|
||||
:broadwell
|
||||
when 0x37fc219f # Skylake
|
||||
:skylake
|
||||
else
|
||||
:dunno
|
||||
end
|
||||
|
||||
@ -7,7 +7,7 @@ class HardwareTests < Homebrew::TestCase
|
||||
end
|
||||
|
||||
def test_hardware_intel_family
|
||||
families = [:core, :core2, :penryn, :nehalem, :arrandale, :sandybridge, :ivybridge, :haswell, :broadwell]
|
||||
families = [:core, :core2, :penryn, :nehalem, :arrandale, :sandybridge, :ivybridge, :haswell, :broadwell, :skylake]
|
||||
assert_includes families, Hardware::CPU.family
|
||||
end if Hardware::CPU.intel?
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user