Erik Colson wrote:
On 14 Feb 2010, at 11:36, Mattia Barbon wrote:

 The equivalent of perl -Mblib is prove -b so...


arf... sorry for this

is this ok ?

Yes. The problem seems to happen when a constant is used. I expect "perl -Mblib -MWx=wxYES -le 'print wxYES'" will exit with a bus error. So far unable to reproduce; I'm compiling a perl w/o threads, to see if that's the condition triggering the bug. Could you post a "perl -V" output?

Thanks,
Mattia

BTW: the test suite are allways stopped with a 'Bus error', which doesn't 
appear using prove...


=============================================

Rome:Wx-0.9701-Qqs5Vz ec$ sudo prove -v -b t/01_load.t t/03_event.t t/04_userdata.t t/07_overload.t t/08_ovl_func.t t/09_create_delete.t t/10_oor.t t/11_twostage.t t/16_stream.t t/01_load.t ........... 1..6
ok 1 - use Wx;
Failed 5/6 subtests t/03_event.t .......... 1..17 Failed 17/17 subtests t/04_userdata.t ....... 1..53
ok 1 - Wx::TreeItemData::GetData
ok 2 - Wx::TreeItemData::GetData (again)
ok 3 - Wx::TreeCtrl::GetPlData
ok 4 - Wx::TreeItemData::SetData
ok 5 - Wx::TreeCtrl::SetItemData
ok 6 - Wx::TreeCtrl::SetPlData
ok 7 - WxTreeCtrl: deleting an item deletes the data
ok 8 - Wx::TreeCtrl: setting again item data deletes old data
ok 9 - Wx::TreeCtrl: deleting the tree deletes the data
ok 10 - Wx::ListBox: some client data
ok 11 - Wx::ListBox: no client data
ok 12 - Wx::ListBox: setting client data
ok 13 - Wx::ListBox: setting client data (again)
ok 14 - Wx::ListBox: client data is a reference
ok 15 # skip delayed on Mac
ok 16 - Wx::ListBox: setting again item data deletes old data
ok 17 # skip delayed on Mac/MSW
ok 18 - Wx::Choice: some client data
ok 19 - Wx::Choice: no client data
ok 20 - Wx::Choice: setting client data
ok 21 - Wx::Choice: setting client data (again)
ok 22 - Wx::Choice: client data is a reference
ok 23 - Wx::Choice: deleting an item deletes the data
ok 24 - Wx::Choice: setting again item data deletes old data
ok 25 - Wx::Choice: deleting the control deletes the data
ok 26 - Wx::ComboBox: some client data
ok 27 - Wx::ComboBox: no client data
ok 28 - Wx::ComboBox: setting client data
ok 29 - Wx::ComboBox: setting client data (again)
ok 30 - Wx::ComboBox: client data is a reference
ok 31 - Wx::ComboBox: deleting an item deletes the data
ok 32 - Wx::ComboBox: setting again item data deletes old data
ok 33 - Wx::ComboBox: deleting the control deletes the data
ok 34 - Wx::CheckListBox: some client data
ok 35 - Wx::CheckListBox: no client data
ok 36 - Wx::CheckListBox: setting client data
ok 37 - Wx::CheckListBox: setting client data (again)
ok 38 - Wx::CheckListBox: client data is a reference
ok 39 # skip delayed on Mac
ok 40 - Wx::CheckListBox: setting again item data deletes old data
ok 41 # skip delayed on Mac/MSW
ok 42 - Wx::OwnerDrawnComboBox: some client data
ok 43 - Wx::OwnerDrawnComboBox: no client data
ok 44 - Wx::OwnerDrawnComboBox: setting client data
ok 45 - Wx::OwnerDrawnComboBox: setting client data (again)
ok 46 - Wx::OwnerDrawnComboBox: client data is a reference
ok 47 - Wx::OwnerDrawnComboBox: deleting an item deletes the data
ok 48 - Wx::OwnerDrawnComboBox: setting again item data deletes old data
ok 49 - Wx::OwnerDrawnComboBox: deleting the control deletes the data
Failed 4/53 subtests (less 4 skipped subtests: 45 okay) t/07_overload.t ....... 1..110
ok 1 - match: match an array
ok 2 - match: more arguments than in prototype
ok 3 - match: wrong arguments
ok 4 - match: match with required arguments
ok 5 - match: don't match with more than required
ok 6 - match: match with required arguments and allow_more
ok 7 - match: match with more than required and allow_more
ok 8 - match: boolean matches reference
ok 9 - match: boolean matches integer
ok 10 - match: boolean matches zero
ok 11 - match: boolean matches literal undef
ok 12 - match: boolean matches undefined variable
ok 13 - match: boolean matches string
ok 14 - match: string matches reference
ok 15 - match: string matches integer
ok 16 - match: string matches zero
ok 17 - match: string matches literal undef
ok 18 - match: string matches undefined variable
ok 19 - match: string matches string
ok 20 - match: number does not match reference
ok 21 - match: number matches integer
ok 22 - match: number matches zero
ok 23 - match: number matches floating point
ok 24 - match: number matches floating point zero
ok 25 - match: number does not match literal undef
ok 26 - match: number does not match undefined variable
ok 27 - match: number does not match string
ok 28 - match: Wx::Sizer does not match reference
ok 29 - match: Wx::Sizer does not match integer
ok 30 - match: Wx::Sizer does not match zero
ok 31 - match: Wx::Sizer matches literal undef
ok 32 - match: Wx::Sizer matches undefined variable
ok 33 - match: Wx::Sizer does not match string
Failed 77/110 subtests t/08_ovl_func.t ....... 1..180 Failed 180/180 subtests t/09_create_delete.t .. 1..8
ok 1 - Wx::MessageDialog: new returns an object of the correct class isa 
Wx::MessageDialog
ok 2 -     got there after Wx::MessageDialog->Destroy
ok 3 - Wx::Wizard: new returns an object of the correct class isa Wx::Wizard
ok 4 -     got there after Wx::Wizard->Destroy
ok 5 - Wx::WizardPage: new returns an object of the correct class isa 
Wx::WizardPage
ok 6 -     got there after Wx::WizardPage->Destroy
ok 7 - Wx::WizardPageSimple: new returns an object of the correct class isa 
Wx::WizardPageSimple
ok 8 -     got there after Wx::WizardPageSimple->Destroy
All 8 subtests passed t/10_oor.t ............ 1..58
ok 1 - objects reference the same hash (Wx::Button)
ok 2 - objects reference the same hash (Wx::Button) (2 phase) ok 3 - objects reference the same hash (Wx::BitmapButton) ok 4 - objects reference the same hash (Wx::BitmapButton) (2 phase) ok 5 - objects reference the same hash (Wx::CheckBox) ok 6 - objects reference the same hash (Wx::CheckBox) (2 phase) ok 7 - objects reference the same hash (Wx::CheckListBox) ok 8 - objects reference the same hash (Wx::CheckListBox) (2 phase) ok 9 - objects reference the same hash (Wx::Choice) ok 10 - objects reference the same hash (Wx::Choice) (2 phase) ok 11 - objects reference the same hash (Wx::ComboBox) ok 12 - objects reference the same hash (Wx::ComboBox) (2 phase) ok 13 - objects reference the same hash (Wx::Gauge) ok 14 - objects reference the same hash (Wx::Gauge) (2 phase) ok 15 - objects reference the same hash (Wx::ListBox) ok 16 - objects reference the same hash (Wx::ListBox) (2 phase) ok 17 - objects reference the same hash (Wx::ListCtrl) ok 18 - objects reference the same hash (Wx::ListCtrl) (2 phase) ok 19 - objects reference the same hash (Wx::ListView) ok 20 - objects reference the same hash (Wx::ListView) (2 phase) ok 21 - objects reference the same hash (Wx::MiniFrame)
ok 22 # skip Skipping two-phase creation for Wx::MiniFrame
ok 23 - objects reference the same hash (Wx::Notebook)
ok 24 - objects reference the same hash (Wx::Notebook) (2 phase) ok 25 - objects reference the same hash (Wx::RadioBox) ok 26 - objects reference the same hash (Wx::RadioBox) (2 phase) ok 27 - objects reference the same hash (Wx::RadioButton) ok 28 - objects reference the same hash (Wx::RadioButton) (2 phase) ok 29 - objects reference the same hash (Wx::SashWindow) ok 30 - objects reference the same hash (Wx::SashWindow) (2 phase) ok 31 - objects reference the same hash (Wx::ScrollBar) ok 32 - objects reference the same hash (Wx::ScrollBar) (2 phase) ok 33 - objects reference the same hash (Wx::SpinButton) ok 34 - objects reference the same hash (Wx::SpinButton) (2 phase) ok 35 # skip Some controls are weird
ok 36 # skip Some controls are weird
ok 37 - objects reference the same hash (Wx::SplitterWindow)
ok 38 - objects reference the same hash (Wx::SplitterWindow) (2 phase) ok 39 - objects reference the same hash (Wx::Slider) ok 40 - objects reference the same hash (Wx::Slider) (2 phase) ok 41 - objects reference the same hash (Wx::StaticBitmap)
ok 42 # skip Skipping two-phase creation for Wx::StaticBitmap
ok 43 - objects reference the same hash (Wx::StaticBox)
ok 44 # skip Skipping two-phase creation for Wx::StaticBox
ok 45 - objects reference the same hash (Wx::StaticLine)
ok 46 # skip Skipping two-phase creation for Wx::StaticLine
ok 47 - objects reference the same hash (Wx::StaticText)
ok 48 # skip Skipping two-phase creation for Wx::StaticText
ok 49 - objects reference the same hash (Wx::StatusBar)
ok 50 # skip Skipping two-phase creation for Wx::StatusBar
ok 51 - objects reference the same hash (Wx::TextCtrl)
ok 52 - objects reference the same hash (Wx::TextCtrl) (2 phase) ok 53 - objects reference the same hash (Wx::TreeCtrl) ok 54 - objects reference the same hash (Wx::TreeCtrl) (2 phase) ok 55 - objects reference the same hash (Wx::Window) ok 56 - objects reference the same hash (Wx::Window) (2 phase) ok 57 - objects reference the same hash
ok 58 - sanity check
All 58 subtests passed (less 8 skipped subtests: 50 okay) t/11_twostage.t ....... 1..2
ok 1
ok 2
All 2 subtests passed t/16_stream.t ......... 1..6 Failed 6/6 subtests
Test Summary Report
-------------------
t/01_load.t         (Wstat: 10 Tests: 1 Failed: 0)
  Non-zero wait status: 10
  Parse errors: Bad plan.  You planned 6 tests but ran 1.
t/03_event.t        (Wstat: 10 Tests: 0 Failed: 0)
  Non-zero wait status: 10
  Parse errors: Bad plan.  You planned 17 tests but ran 0.
t/04_userdata.t     (Wstat: 10 Tests: 49 Failed: 0)
  Non-zero wait status: 10
  Parse errors: Bad plan.  You planned 53 tests but ran 49.
t/07_overload.t     (Wstat: 10 Tests: 33 Failed: 0)
  Non-zero wait status: 10
  Parse errors: Bad plan.  You planned 110 tests but ran 33.
t/08_ovl_func.t     (Wstat: 10 Tests: 0 Failed: 0)
  Non-zero wait status: 10
  Parse errors: Bad plan.  You planned 180 tests but ran 0.
t/09_create_delete.t (Wstat: 10 Tests: 8 Failed: 0)
  Non-zero wait status: 10
t/10_oor.t          (Wstat: 10 Tests: 58 Failed: 0)
  Non-zero wait status: 10
t/11_twostage.t     (Wstat: 10 Tests: 2 Failed: 0)
  Non-zero wait status: 10
t/16_stream.t       (Wstat: 10 Tests: 0 Failed: 0)
  Non-zero wait status: 10
  Parse errors: Bad plan.  You planned 6 tests but ran 0.
Files=9, Tests=151,  4 wallclock secs ( 0.08 usr  0.03 sys +  1.09 cusr  0.22 
csys =  1.42 CPU)
Result: FAIL

Reply via email to