~ubuntu-branches/ubuntu/intrepid/ruby1.9/intrepid-updates

« back to all changes in this revision

Viewing changes to rubytest.rb

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-09-04 16:01:17 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20070904160117-i15zckg2nhxe9fyw
Tags: 1.9.0+20070830-2ubuntu1
* Sync from Debian; remaining changes:
  - Add -g to CFLAGS.
* Fixes build failure on ia64.
* Fixes build failure with gcc-4.2 on lpia.
* Robustify check for target_os, fixing build failure on lpia.
* Set Ubuntu maintainer address.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
srcdir = File.dirname(__FILE__)
40
40
`#{ruby} -I#{srcdir}/lib #{srcdir}/sample/test.rb`.each_line do |line|
41
41
  if line =~ /^end of test/
42
 
    print "test succeeded\n"
 
42
    print "\ntest succeeded\n"
43
43
    exit true
44
44
  end
45
45
  error << line if %r:^(sample/test.rb|not): =~ line