Permalink
Browse files

Make the erlang test less sensitive to versions

  • Loading branch information...
1 parent 2200091 commit 0550e5d5b9c6f6b527ac39cd1b711ba0a4acebff pbozeman committed Apr 27, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 features/step_definitions/appcloud_steps.rb
@@ -182,8 +182,7 @@
Given /^I have built a simple Erlang application$/ do
# Try to find an appropriate Erlang
erlang_path = '/var/vcap/runtimes/erlang-R14B02/bin'
- path_erl_v = `#{erlang_path}/erl -version 2>&1`.strip
- unless path_erl_v =~ /.*5.7.4$/
+ unless File.exists?(erlang_path)
pending "Not running Erlang test because the Erlang runtime is not installed"
else
Dir.chdir("#{@testapps_dir}/#{SIMPLE_ERLANG_APP}")

0 comments on commit 0550e5d

Please sign in to comment.