Skip to content

Instantly share code, notes, and snippets.

@judofyr
Created April 13, 2011 16:14
Show Gist options
  • Save judofyr/917852 to your computer and use it in GitHub Desktop.
Save judofyr/917852 to your computer and use it in GitHub Desktop.
test_tilt.sh
### 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
@judofyr
Copy link
Author

judofyr commented Apr 13, 2011

Please report the whole output since it includes both the Ruby version and the git commit. Thanks!

@lmarburger
Copy link

~ $ rvm use 1.9.2@tilt --create
Using /Users/Larry/.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
104   629  104   629    0     0   1806      0 --:--:-- --:--:-- --:--:-- 10311

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.
Receiving objects: 100% (1481/1481), 210.99 KiB, done.
remote: Total 1481 (delta 909), reused 1039 (delta 617)
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
Successfully uninstalled markaby-0.7.1

TESTS

(in /private/tmp/tilt_tests)
Tilt::MarkabyTemplate (disabled)

Tilt::RadiusTemplate (disabled)

Loaded suite /Users/Larry/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
.....................................................................................................................................................................................................................
Finished in 2.146556 seconds.

213 tests, 332 assertions, 0 failures, 0 errors, 0 skips

Test run options: --seed 24882

@lmarburger
Copy link

~ $ rvm use ree@tilt --create
Using /Users/Larry/.rvm/gems/ree-1.8.7-2011.03 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
104   629  104   629    0     0    824      0 --:--:-- --:--:-- --:--:--  1664

SETUP

ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-darwin10.6.0], MBARI 0x6770, Ruby Enterprise Edition 2011.03
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, 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
Fetching: json-1.5.1.gem (100%)
Building native extensions.  This could take a while...
Successfully installed json-1.5.1
1 gem installed

TESTS

(in /private/tmp/tilt_tests)
Tilt::RDocTemplate (disabled)

Loaded suite /Users/Larry/.rvm/gems/ree-1.8.7-2011.03@global/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
.....................................................................................................................................................................................................................................
Finished in 2.095828 seconds.

229 tests, 351 assertions, 0 failures, 0 errors

@rubysolo
Copy link

% rvm use 1.8.7@tilt --create ~
Using /Users/solo/.rvm/gems/ruby-1.8.7-p330 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
104 629 104 629 0 0 538 0 0:00:01 0:00:01 --:--:-- 1318

SETUP

ruby 1.8.7 (2010-12-23 patchlevel 330) [i686-darwin10.7.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 | 310 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
Fetching: json-1.5.1.gem (100%)
Building native extensions. This could take a while...
Successfully installed json-1.5.1
1 gem installed

TESTS

(in /private/tmp/tilt_tests)
Tilt::RDocTemplate (disabled)

Loaded suite /Users/solo/.rvm/gems/ruby-1.8.7-p330@global/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
.....................................................................................................................................................................................................................................
Finished in 3.065539 seconds.

229 tests, 351 assertions, 0 failures, 0 errors

Copy link

ghost commented Apr 13, 2011

$ 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment