Created
April 13, 2011 16:14
-
-
Save judofyr/917852 to your computer and use it in GitHub Desktop.
test_tilt.sh
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
### WARNING: This will install/uninstall gems, so please run it in a separate gemset. | |
echo "### SETUP" | |
ruby -v | |
rm -rf /tmp/tilt_tests | |
git clone git://github.com/rtomayko/tilt.git /tmp/tilt_tests | |
cd /tmp/tilt_tests | |
git show-ref HEAD | |
# Install development gems | |
cat tilt.gemspec | grep development | ruby -ne 'puts $_[/y .([\w-]+)/, 1]' | xargs gem install | |
# Install JSON if not available | |
ruby -rubygems -e'require "json"' 2>/dev/null || gem install json | |
# Uninstall Markaby if it fails (known bug on 1.9) | |
ruby -rubygems -e'require "markaby"' 2>/dev/null || gem uninstall markaby | |
echo "### TESTS" | |
rake test | |
rm -rf /tmp/tilt_tests |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$ rvm use 1.9.2@tilt --create
Using /Users/fibric/.rvm/gems/ruby-1.9.2-p180 with gemset tilt
$ curl https://gist.github.com/raw/917852/b8fcb00fb1b60ede0dfcced4a749a16399e829b5/tilt_test.sh | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 629 100 629 0 0 304 0 0:00:02 0:00:02 --:--:-- 339
SETUP
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.6.0]
Cloning into /tmp/tilt_tests...
remote: Counting objects: 1481, done.
remote: Compressing objects: 100% (673/673), done.
remote: Total 1481 (delta 909), reused 1039 (delta 617)
Receiving objects: 100% (1481/1481), 210.99 KiB | 159 KiB/s, done.
Resolving deltas: 100% (909/909), done.
fatal: Not a git repository (or any of the parent directories): .git
Fetching: contest-0.1.2.gem (100%)
Successfully installed contest-0.1.2
Fetching: builder-3.0.0.gem (100%)
Successfully installed builder-3.0.0
Fetching: erubis-2.7.0.gem (100%)
Successfully installed erubis-2.7.0
Fetching: haml-3.0.25.gem (100%)
Successfully installed haml-3.0.25
Fetching: rdiscount-1.6.8.gem (100%)
Building native extensions. This could take a while...
Successfully installed rdiscount-1.6.8
Fetching: liquid-2.2.2.gem (100%)
Successfully installed liquid-2.2.2
Fetching: polyglot-0.3.1.gem (100%)
Fetching: treetop-1.4.9.gem (100%)
Fetching: mutter-0.5.3.gem (100%)
Fetching: less-1.2.21.gem (100%)
Successfully installed polyglot-0.3.1
Successfully installed treetop-1.4.9
Successfully installed mutter-0.5.3
Successfully installed less-1.2.21
Fetching: radius-0.6.1.gem (100%)
Successfully installed radius-0.6.1
Fetching: nokogiri-1.4.4.gem (100%)
Building native extensions. This could take a while...
Successfully installed nokogiri-1.4.4
Fetching: markaby-0.7.1.gem (100%)
Successfully installed markaby-0.7.1
Fetching: coffee-script-source-1.0.1.gem (100%)
Fetching: execjs-0.2.0.gem (100%)
Fetching: coffee-script-2.2.0.gem (100%)
Successfully installed coffee-script-source-1.0.1
Successfully installed execjs-0.2.0
Successfully installed coffee-script-2.2.0
Fetching: bluecloth-2.1.0.gem (100%)
Building native extensions. This could take a while...
Successfully installed bluecloth-2.1.0
Fetching: RedCloth-4.2.7.gem (100%)
Building native extensions. This could take a while...
Successfully installed RedCloth-4.2.7
Fetching: syntax-1.0.0.gem (100%)
Fetching: maruku-0.6.0.gem (100%)
Successfully installed syntax-1.0.0
Successfully installed maruku-0.6.0
Fetching: creole-0.4.1.gem (100%)
Successfully installed creole-0.4.1
Fetching: kramdown-0.13.2.gem (100%)
Successfully installed kramdown-0.13.2
22 gems installed
Installing ri documentation for contest-0.1.2...
Installing ri documentation for builder-3.0.0...
Installing ri documentation for erubis-2.7.0...
Installing ri documentation for haml-3.0.25...
Installing ri documentation for rdiscount-1.6.8...
Installing ri documentation for liquid-2.2.2...
Installing ri documentation for polyglot-0.3.1...
Installing ri documentation for treetop-1.4.9...
Installing ri documentation for mutter-0.5.3...
Installing ri documentation for less-1.2.21...
Installing ri documentation for radius-0.6.1...
Installing ri documentation for nokogiri-1.4.4...
Installing ri documentation for markaby-0.7.1...
Installing ri documentation for coffee-script-source-1.0.1...
Installing ri documentation for execjs-0.2.0...
Installing ri documentation for coffee-script-2.2.0...
Installing ri documentation for bluecloth-2.1.0...
Installing ri documentation for RedCloth-4.2.7...
Installing ri documentation for syntax-1.0.0...
Installing ri documentation for maruku-0.6.0...
Couldn't find file to include 'MaRuKu.txt' from lib/maruku.rb
Installing ri documentation for creole-0.4.1...
Installing ri documentation for kramdown-0.13.2...
Installing RDoc documentation for contest-0.1.2...
Installing RDoc documentation for builder-3.0.0...
Installing RDoc documentation for erubis-2.7.0...
Installing RDoc documentation for haml-3.0.25...
Installing RDoc documentation for rdiscount-1.6.8...
Installing RDoc documentation for liquid-2.2.2...
Installing RDoc documentation for polyglot-0.3.1...
Installing RDoc documentation for treetop-1.4.9...
Installing RDoc documentation for mutter-0.5.3...
Installing RDoc documentation for less-1.2.21...
Installing RDoc documentation for radius-0.6.1...
Installing RDoc documentation for nokogiri-1.4.4...
Installing RDoc documentation for markaby-0.7.1...
Installing RDoc documentation for coffee-script-source-1.0.1...
Installing RDoc documentation for execjs-0.2.0...
Installing RDoc documentation for coffee-script-2.2.0...
Installing RDoc documentation for bluecloth-2.1.0...
Installing RDoc documentation for RedCloth-4.2.7...
Installing RDoc documentation for syntax-1.0.0...
Installing RDoc documentation for maruku-0.6.0...
Couldn't find file to include 'MaRuKu.txt' from lib/maruku.rb
Installing RDoc documentation for creole-0.4.1...
Installing RDoc documentation for kramdown-0.13.2...
Successfully uninstalled markaby-0.7.1
TESTS
(in /private/tmp/tilt_tests)
NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.
Gem::Specification#default_executable= called from (eval):74
.
NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2011-10-01.
Gem::Specification#has_rdoc= called from (eval):97
.
Tilt::MarkabyTemplate (disabled)
Tilt::RadiusTemplate (disabled)
Loaded suite /Users/fibric/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake/rake_test_loader
Started
.....................................................................................................................................................................................................................
Finished in 2.385421 seconds.
213 tests, 332 assertions, 0 failures, 0 errors, 0 skips
Test run options: --seed 55196