From 90f402d8a276340efd91a7ebb32a3e5e89a88dcf Mon Sep 17 00:00:00 2001 From: Jonathan Chang Date: Fri, 8 Mar 2019 14:32:40 +1100 Subject: [PATCH] cpu: tests permit new families and architectures --- Library/Homebrew/test/hardware/cpu_spec.rb | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/Library/Homebrew/test/hardware/cpu_spec.rb b/Library/Homebrew/test/hardware/cpu_spec.rb index 8b469c5c36..c9b5829b2e 100644 --- a/Library/Homebrew/test/hardware/cpu_spec.rb +++ b/Library/Homebrew/test/hardware/cpu_spec.rb @@ -4,7 +4,9 @@ describe Hardware::CPU do describe "::type" do let(:cpu_types) { [ + :arm, :intel, + :ppc, :dunno, ] } @@ -17,17 +19,23 @@ describe Hardware::CPU do describe "::family" do let(:cpu_families) { [ + :arrandale, + :atom, + :broadwell, :core, :core2, - :penryn, - :nehalem, - :arrandale, - :sandybridge, - :ivybridge, + :dothan, :haswell, - :broadwell, - :skylake, + :ivybridge, :kabylake, + :merom, + :nehalem, + :penryn, + :prescott, + :presler, + :sandybridge, + :skylake, + :westmere, :dunno, ] }