~ubuntu-branches/ubuntu/oneiric/swig1.3/oneiric

« back to all changes in this revision

Viewing changes to Examples/test-suite/perl5/li_std_string_runme.pl

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-12-06 10:27:08 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20071206102708-t37t62i45n595w0e
Tags: 1.3.33-2ubuntu1
* Merge with Debian; remaining changes:
  - Drop support for pike.
  - Use python2.5 instead of python2.4.
  - Clean Runtime/ as well.
  - Force a few environment variables.
* debian/Rules (clean): Remove Lib/ocaml/swigp4.ml.

Show diffs side-by-side

added added

removed removed

Lines of Context:
114
114
if ($gen1->test("1") ne "11") {
115
115
  die ("ulonglong");
116
116
}
117
 
if ($gen1->testl(9234567890121111113) ne 9234567890121111114) {
118
 
  die ("ulonglong");
 
117
if ($gen1->testl(12345) ne 12346) {
 
118
  die ("ulonglong small number");
 
119
}
 
120
# Note: 32 bit builds of perl will fail this test as the number is stored internally in scientific notation 
 
121
# (USE_64_BIT_ALL probably needs defining when building Perl in order to avoid this)
 
122
#if ($gen1->testl(9234567890121111113) ne 9234567890121111114) {
 
123
#  die ("ulonglong big number");
 
124
#}
 
125
if ($gen1->testl("9234567890121111113") ne "9234567890121111114") {
 
126
  die ("ulonglong big number");
119
127
}
120
128
 
121
129