Sha256: b621b183f548a921cc666c0ba91ddef03dad25d669b91b4f7bb887353b7c6876

Contents?: true

Size: 615 Bytes

Versions: 2

Compression:

Stored size: 615 Bytes

Contents

Given /'setup.rb compile' has been run$/ do
  Setup::Command.run("compile", "--quiet") #, "--trace")
end

When /^I issue the command 'setup\.rb compile'$/ do
  Setup::Command.run("compile", "--quiet")
end

#When /^I issue the command 'setup\.rb install' unprepared$/ do
#  begin
#    Setup::Command.run("install", "--quiet")
#  rescue SystemExit => error
#    $setup_feature_error = error
#  end
#end

Then /^the extensions should be compiled$/ do
  exts = Dir['ext/faux/faux.so']
  exts.assert!.empty?
end

Then /^the extensions will not be compiled$/ do
  exts = Dir['ext/faux/faux.so']
  exts.assert.empty?
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
setup-5.2.0 test/features/step_definitions/compile_steps.rb
setup-5.1.0 test/features/step_definitions/compile_steps.rb