Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed upcase issue on 1.8.7 and removed some test
- Loading branch information
Showing
16 changed files
with
63 additions
and
368 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
module Veewee | ||
module Builder | ||
module Vmfusion | ||
module BuilderHelper | ||
|
||
def validate_vmfusion(box_name,options) | ||
require 'cucumber' | ||
|
||
require 'cucumber/rspec/disable_option_parser' | ||
require 'cucumber/cli/main' | ||
|
||
ENV['veewee_user']=options[:user] | ||
feature_path=File.join(File.dirname(__FILE__),"..","..","..","..","..","validation","vagrant.feature") | ||
|
||
features=Array.new | ||
features[0]=feature_path | ||
|
||
begin | ||
# The dup is to keep ARGV intact, so that tools like ruby-debug can respawn. | ||
failure = Cucumber::Cli::Main.execute(features.dup) | ||
Kernel.exit(failure ? 1 : 0) | ||
rescue SystemExit => e | ||
Kernel.exit(e.status) | ||
rescue Exception => e | ||
STDERR.puts("#{e.message} (#{e.class})") | ||
STDERR.puts(e.backtrace.join("\n")) | ||
Kernel.exit(1) | ||
end | ||
|
||
end | ||
end #Module | ||
|
||
end #Module | ||
end #Module | ||
end #Module |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.