Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Switch to hoe-debugging.

  • Loading branch information...
commit feb07db963e3e01fc686876faac6fcdcbbb3ae42 1 parent d5db110
John Barnette authored
7 CHANGELOG.rdoc
View
@@ -1,9 +1,10 @@
-=== 1.2.0 (UNRELEASED)
+=== UNRELEASED
+* Switch to hoe-debugging for GDB and Valgrind support.
* Better cross-language stack traces. [Mike Dalessio]
-* Switch to Hoe 2.0.
+* Switch to Hoe 2.x.
-=== 1.1.0 "Segfault City" (2009-04-04)
+=== 1.1.0 / 2009-04-04
* Enough delays. First real/RubyForge release!
* Cleaned up the build.
3  Manifest.txt
View
@@ -31,7 +31,6 @@ ext/spidermonkey/runtime.c
ext/spidermonkey/runtime.h
ext/spidermonkey/spidermonkey.c
ext/spidermonkey/spidermonkey.h
-johnson.gemspec
js/johnson/cli.js
js/johnson/prelude.js
lib/johnson.rb
@@ -65,9 +64,7 @@ lib/johnson/visitors/enumerating_visitor.rb
lib/johnson/visitors/sexp_visitor.rb
lib/johnson/visitors/visitor.rb
lib/rails/init.rb
-lib/tasks/gem.rake
lib/tasks/parsing.rake
-lib/tasks/testing.rake
lib/tasks/vendor.rake
test/helper.rb
test/johnson/browser_test.rb
3  Rakefile
View
@@ -2,7 +2,7 @@ require "rubygems"
require "hoe"
require "rake/extensiontask"
-require "./lib/johnson/version.rb"
+Hoe.plugin :debugging
HOE = Hoe.spec "johnson" do |p|
p.developer "John Barnette", "jbarnette@rubyforge.org"
@@ -10,7 +10,6 @@ HOE = Hoe.spec "johnson" do |p|
p.developer "Yehuda Katz", "wycats@gmail.com"
p.developer "Matthew Draper", "matthew@trebex.net"
- p.version = Johnson::VERSION
p.history_file = "CHANGELOG.rdoc"
p.readme_file = "README.rdoc"
p.summary = "Johnson wraps JavaScript in a loving Ruby embrace."
36 lib/tasks/testing.rake
View
@@ -1,36 +0,0 @@
-namespace :test do
- # partial-loads-ok and undef-value-errors necessary to ignore
- # spurious (and eminently ignorable) warnings from the ruby
- # interpreter
- VALGRIND_BASIC_OPTS = "--num-callers=50 --error-limit=no --partial-loads-ok=yes --undef-value-errors=no"
-
- desc "run test suite under valgrind with basic ruby options"
- task :valgrind => :compile do
- cmdline = "valgrind #{VALGRIND_BASIC_OPTS} ruby #{HOE.make_test_cmd}"
- puts cmdline
- system cmdline
- end
-
- desc "run test suite under valgrind with memory-fill ruby options"
- task :valgrind_mem => :compile do
- # fill malloced memory with "m" and freed memory with "f"
- cmdline = "valgrind #{VALGRIND_BASIC_OPTS} --freelist-vol=100000000 --malloc-fill=6D --free-fill=66 ruby #{HOE.make_test_cmd}"
- puts cmdline
- system cmdline
- end
-
- desc "run test suite under valgrind with memory-zero ruby options"
- task :valgrind_mem0 => :compile do
- # fill malloced and freed memory with 0
- cmdline = "valgrind #{VALGRIND_BASIC_OPTS} --freelist-vol=100000000 --malloc-fill=00 --free-fill=00 ruby #{HOE.make_test_cmd}"
- puts cmdline
- system cmdline
- end
-
- desc "run test suite under gdb"
- task :gdb => :compile do
- cmdline = "gdb --args ruby #{HOE.make_test_cmd}"
- puts cmdline
- system cmdline
- end
-end
Please sign in to comment.
Something went wrong with that request. Please try again.