Sha256: 5bdcfaefda22a6013b839e82593336e5a7ba404766b1c4b927792176f1ab959a

Contents?: true

Size: 711 Bytes

Versions: 8

Compression:

Stored size: 711 Bytes

Contents

#######################################################################
# test_sys_cpu.rb
#
# This isn't a test file, just a file that require's the appropriate
# test file base on the platform you're on.
#######################################################################
require 'rbconfig'
require 'test_sys_cpu_version'

case Config::CONFIG['host_os']
   when /bsd|darwin|mach|osx/i
      require 'test_sys_cpu_bsd'
   when /hpux/i
      require 'test_sys_cpu_hpux'
   when /linux/i
      require 'test_sys_cpu_linux'
   when /sunos|solaris/i
      require 'test_sys_cpu_sunos'
   when /mswin|win32|dos|mingw|cygwin/i
      require 'test_sys_cpu_windows'
   else
      raise "Platform not supported"
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sys-cpu-0.6.4-universal-linux test/test_sys_cpu.rb
sys-cpu-0.6.4 test/test_sys_cpu.rb
sys-cpu-0.6.3-x86-linux test/test_sys_cpu.rb
sys-cpu-0.6.3 test/test_sys_cpu.rb
sys-cpu-0.6.3-x86-mingw32 test/test_sys_cpu.rb
sys-cpu-0.6.2-x86-linux test/test_sys_cpu.rb
sys-cpu-0.6.2-x86-mingw32 test/test_sys_cpu.rb
sys-cpu-0.6.2 test/test_sys_cpu.rb