Sha256: 438d18aebe6aab7989661d523b8cc25dbc843fb49304e7cebe40ddd02e7a97cc
Contents?: true
Size: 919 Bytes
Versions: 10
Compression:
Stored size: 919 Bytes
Contents
# Naive way of looking into platforms, please include others like FreeBSD? Given %r{^I'm running a POSIX operating system$} do unless RbConfig::CONFIG['host_os'] =~ /linux|darwin/ then raise Cucumber::Pending.new("You need a POSIX operating system, no cheating ;-)") end end Given %r{^I've installed cross compile toolchain$} do pending 'Cannot locate suitable compiler in the PATH.' unless search_path(%w(i586-mingw32msvc-gcc i386-mingw32-gcc)) end Then /^binaries for platform '(.*)' get generated$/ do |platform| ext = binary_extension(platform) ext_for_platform = Dir.glob("tmp/#{platform}/**/*.#{ext}") ext_for_platform.should_not be_empty end Then /^binaries for platform '(.*)' version '(.*)' get copied$/ do |platform, version| lib_path = "lib/#{version}" ext = binary_extension(platform) ext_for_platform = Dir.glob("#{lib_path}/*.#{ext}") ext_for_platform.should_not be_empty end
Version data entries
10 entries across 10 versions & 2 rubygems