Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
origen test fails is user specifies where to install gems #261
7) Origen.site_config Site config install directories with ENV variables set with ORIGEN_GEM_INSTALL_DIR set uses the value in ORIGEN_GEM_INSTALL_DIR instead of :gem_install_dir Failure/Error: expect(Origen.site_config.user_gem_dir).to eql("/env/gem/.origen/gems") expected: "/env/gem/.origen/gems" got: "/users/user/origen/.origen/gems" (compared using eql?) # ./spec/site_config_spec.rb:243:in `block (4 levels) in <top (required)>' # ./config/commands.rb:42:in `<top (required)>' # ./lib/origen/commands.rb:185:in `require' # ./lib/origen/commands.rb:185:in `<top (required)>'
When travis runs the same build it passes.
Do you have any other Origen environment variables set? This is assuming a blank ENV and I think
Travis wouldn't have ENV variables set, so it won't affect it there. I will try to replicate it.