~ubuntu-branches/ubuntu/quantal/ruby1.9.1/quantal

« back to all changes in this revision

Viewing changes to debian/patches/940_hppa_disable_test_propag_signal.diff

  • Committer: Bazaar Package Importer
  • Author(s): Lucas Nussbaum
  • Date: 2011-09-24 19:16:17 UTC
  • mfrom: (1.1.8 upstream) (13.1.7 experimental)
  • Revision ID: james.westby@ubuntu.com-20110924191617-o1qz4rcmqjot8zuy
Tags: 1.9.3~rc1-1
* New upstream release: 1.9.3 RC1.
  + Includes load.c fixes. Closes: #639959.
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh /usr/share/dpatch/dpatch-run
2
 
## 940_hppa_disable_test_propag_signal.dpatch by Lucas Nussbaum <lucas@lucas-nussbaum.net>
3
 
##
4
 
## All lines beginning with `## DP:' are a description of the patch.
5
 
## DP: Due to problems with the threads implementation on hppa, this test
6
 
## DP: blocks. We disable it on this arch only.
7
 
## DP: Closes: #514695.
8
 
 
9
 
@DPATCH@
10
 
Index: b/test/ruby/test_beginendblock.rb
11
 
===================================================================
12
 
--- a/test/ruby/test_beginendblock.rb   2010-07-20 21:45:45.000000000 +0900
13
 
+++ b/test/ruby/test_beginendblock.rb   2010-07-20 21:46:16.000000000 +0900
14
 
@@ -1,4 +1,5 @@
15
 
 require 'test/unit'
16
 
+require 'rbconfig'
17
 
 require 'tempfile'
18
 
 require_relative 'envutil'
19
 
 
20
 
@@ -91,6 +92,7 @@
21
 
     assert_nil $?.termsig
22
 
   end
23
 
 
24
 
+  if Config::CONFIG['arch'] != 'hppa-linux'
25
 
   def test_should_propagate_signaled
26
 
     ruby = EnvUtil.rubybin
27
 
     out = IO.popen(
28
 
@@ -104,4 +106,5 @@
29
 
     assert_nil $?.exitstatus
30
 
     assert_equal Signal.list["INT"], $?.termsig
31
 
   end
32
 
+  end
33
 
 end