9 Commits

Author SHA1 Message Date
Misty De Meo
be9f2d7dea Add Haswell to CPU tests
These tests need a lot of work...
2013-07-01 01:06:44 -05:00
Jack Nagel
50db35e5d3 Use Hardware::CPU module 2013-06-14 10:34:17 -05:00
Misty De Meo
2476801613 Hardware: separate out CPU values into CPU module
* CPU functions now exist in Hardware::CPU
* Added compatibility functions in compat/hardware_compat.rb
* Names are less specific to Mac hardware, e.g. CPU.family instead of
  Hardware.intel_family
* Hardware::CPU.family works for both Intel and PowerPC
* New helper methods on CPU, like .sse4? and .altivec?

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2013-03-23 13:40:18 -05:00
Tobias Lidskog
a4a795c096 Fix test failure on ivybridge cpus.
Closes Homebrew/homebrew#18371.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-10 10:37:56 -07:00
Jack Nagel
93f8c71e21 tests: clean up whitespace
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-04 22:47:34 -05:00
Jack Nagel
90dbb8a141 Prune some requires from test files
testing_env already requires utils; set up the ARGV and ENV extensions
there as well.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-04 22:47:34 -05:00
Misty De Meo
aed54ce966 Hardware test: add :arrandale
For some reason :arrandale was missing from the list of hardware in the
Intel family in the hardware test.
2012-04-20 10:44:19 -05:00
Chris Ledet
f1cd284f12 Add :sandybridge to hardware_family test
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-08 21:29:51 -05:00
Adam Vandenberg
a5cbf94596 Move hardware detection tests to separate file. 2010-04-06 08:27:10 -07:00