Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
ruby-build
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ruby-build
Commits
da840a82
Commit
da840a82
authored
Oct 26, 2013
by
Mislav Marohnić
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add test for FreeBSD gmake
Closes #293
parent
e466bfea
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
2 deletions
+17
-2
test/build.bats
+16
-2
test/fixtures/definitions/vanilla-ruby
+1
-0
No files found.
test/build.bats
View file @
da840a82
...
...
@@ -2,6 +2,7 @@
load test_helper
export RUBY_BUILD_CACHE_PATH="$TMP/cache"
export MAKE=make
setup() {
mkdir -p "$INSTALL_ROOT"
...
...
@@ -32,8 +33,8 @@ OUT
}
stub_make_install() {
stub
make
\
' : echo make "$@" >> build.log'
\
stub
"$MAKE"
\
" : echo \"$MAKE \$@\" >> build.log"
\
"install : cat build.log >> '$INSTALL_ROOT/build.log'"
}
...
...
@@ -92,3 +93,16 @@ OUT
assert_success
assert [ -x ./here/bin/package ]
}
@test "make on FreeBSD defaults to gmake" {
cached_tarball "ruby-2.0.0"
stub uname "-s : echo FreeBSD"
MAKE=gmake stub_make_install
MAKE= install_fixture definitions/vanilla-ruby
assert_success
unstub gmake
unstub uname
}
test/fixtures/definitions/vanilla-ruby
0 → 100644
View file @
da840a82
install_package "ruby-2.0.0" "http://ruby-lang.org/ruby/2.0/ruby-2.0.0.tar.gz"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment