Attached are the dmake test results from stock Glib-1.222 and Gtk2-1.221 . Only change I made was that I had to remove GtkRecentChooser from the Gtk2 test suite as it was hanging the test.
On Sat, Mar 20, 2010 at 10:16 AM, Torsten Schoenfeld <kaffeeti...@gmx.de>wrote: > On 03.02.2010 04:51, Terence J. Ferraro wrote: > >> This is an old thread, but I wanted to reply so that the solution at >> least gets indexed in case anyone else ever runs into this problem. >> >> I myself ran into this about a year ago and found that if you comment >> out the: if (GIMME_V == G_ARRAY) { ... } >> >> within the get_path_at_pos routine in GtkTreeView.xs and instead >> unconditionally return the array, you now get what you want on Windows. >> Never really cared to investigate why since this solution "just works". >> > > That's weird. Because the GIMME_V business is standard XS stuff that is > used in many places throughout Glib and Gtk2. Does the Glib test suite pass > on the same that shows the weird get_path_at_pos behavior? Especially > Glib/t/filename.t, which exercises filename_from_uri which also uses > GIMME_V. > _______________________________________________ > gtk-perl-list mailing list > gtk-perl-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-perl-list >
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/1.t ...................... ok t/2.t ...................... ok t/3.t ...................... ok t/4.t ...................... ok t/5.t ...................... ok t/6.t ...................... ok # Failed test at t/64bit.t line 25. # got: '1' # expected: '-9223372036854775807' # Failed test at t/64bit.t line 26. # got: '-1' # expected: '9223372036854775807' # Failed test at t/64bit.t line 35. # got: '4294967295' # expected: '18446744073709551615' # Failed test at t/64bit.t line 46. # got: '1' # expected: '-9223372036854775807' # Failed test at t/64bit.t line 48. # got: '-1' # expected: '9223372036854775807' # Failed test at t/64bit.t line 53. # got: '4294967295' # expected: '18446744073709551615' # Looks like you failed 6 tests of 12. t/64bit.t .................. Dubious, test returned 6 (wstat 1536, 0x600) Failed 6/12 subtests t/7.t ...................... ok t/8.t ...................... ok t/9.t ...................... ok t/a.t ...................... ok t/b.t ...................... ok t/c.t ...................... ok t/d.t ...................... ok # Failed test at t/e.t line 229. # got: '1' # expected: '2' # Failed test 'value 30 value unchanged' # at t/e.t line 231. # got: undef # expected: '30' # Failed test 'clamp 70 down to be in range' # at t/e.t line 235. # got: undef # expected: '50' # Failed test 'clamp -70 down to be in range' # at t/e.t line 238. # got: undef # expected: '20' # Looks like you failed 4 tests of 243. t/e.t ...................... Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/243 subtests t/f.t ...................... ok t/filename.t ............... ok # Failed test at t/g.t line 155. # got: undef # expected: 'C:\test\Glib-1.222\tmp.ini' # Looks like you failed 1 test of 33. t/g.t ...................... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/33 subtests t/h.t ...................... ok t/lazy_loader.t ............ ok t/make_helper.t ............ ok t/options.t ................ ok t/signal_emission_hooks.t .. ok t/signal_marshal.t ......... ok t/signal_query.t ........... ok t/tied_definedness.t ....... ok Test Summary Report ------------------- t/64bit.t (Wstat: 1536 Tests: 12 Failed: 6) Failed tests: 2-3, 7, 9-10, 12 Non-zero exit status: 6 t/e.t (Wstat: 1024 Tests: 243 Failed: 4) Failed tests: 234, 236, 238, 240 Non-zero exit status: 4 t/g.t (Wstat: 256 Tests: 33 Failed: 1) Failed test: 32 Non-zero exit status: 1 Files=26, Tests=828, 8 wallclock secs ( 0.14 usr + 0.44 sys = 0.58 CPU) Result: FAIL Failed 3/26 test programs. 11/828 subtests failed. dmake: Error code 255, while making 'test_dynamic'
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t # Testing Gtk2 1.221 # Running against gtk+ 2.18.5 # Compiled against gtk+ 2.18.5 # and pango 1.26.1 GLib-WARNING **: g_set_prgname() called multiple times at t/00.Gtk2.t line 72. GLib-WARNING **: g_set_prgname() called multiple times at t/00.Gtk2.t line 171. t/00.Gtk2.t ........................ ok t/01.GtkWindow.t ................... ok t/02.GtkContainer.t ................ ok GLib-WARNING **: g_set_prgname() called multiple times at t/Gdk.t line 17. Gdk-WARNING **: gdk_set_sm_client_id blub at t/Gdk.t line 62. Gdk-WARNING **: gdk_set_sm_client_id NULL at t/Gdk.t line 63. t/Gdk.t ............................ ok t/GdkCairo.t ....................... ok Gdk-WARNING **: gdkcolor-win32.c:110: DeleteObject failed: The operation completed successfully.. t/GdkColor.t ....................... ok t/GdkCursor.t ...................... ok Gdk-WARNING **: gdk_display_get_default_group not yet implemented at t/GdkDisplay.t line 67. t/GdkDisplay.t ..................... ok t/GdkDisplayManager.t .............. ok t/GdkDnd.t ......................... ok t/GdkDrawable.t .................... ok t/GdkEvent.t ....................... ok t/GdkGC.t .......................... ok t/GdkInput.t ....................... ok t/GdkKeys.t ........................ ok t/GdkPango.t ....................... ok # Failed test 'The thing isa Gtk2::Gdk::Bitmap' # at t/GdkPixbuf.t line 377. # The thing isn't defined # Failed test 'The thing isa Gtk2::Gdk::Bitmap' # at t/GdkPixbuf.t line 386. # The thing isn't defined # Looks like you failed 2 tests of 103. t/GdkPixbuf.t ...................... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/103 subtests t/GdkPixbufLoader.t ................ ok t/GdkPixbufSimpleAnim.t ............ ok t/GdkPixmap.t ...................... ok Gdk-CRITICAL **: gdk_property_change: assertion `type != GDK_TARGET_STRING' failed at t/GdkProperty.t line 38. Gdk-CRITICAL **: gdk_property_change: assertion `type != GDK_TARGET_STRING' failed at t/GdkProperty.t line 40. Gdk-WARNING **: gdk_property_change: General case not implemented at t/GdkProperty.t line 42. Gdk-WARNING **: gdk_property_change: General case not implemented at t/GdkProperty.t line 44. t/GdkProperty.t .................... ok t/GdkRegion.t ...................... ok t/GdkRgb.t ......................... ok t/GdkScreen.t ...................... ok t/GdkSelection.t ................... ok t/GdkVisual.t ...................... ok Gdk-WARNING **: gdk_window_set_override_redirect not implemented at t/GdkWindow.t line 178. Gdk-WARNING **: gdk_window_set_group not implemented at t/GdkWindow.t line 266. t/GdkWindow.t ...................... ok t/GdkX11.t ......................... ok t/GtkAboutDialog.t ................. ok t/GtkAccelGroup.t .................. ok t/GtkAccelLabel.t .................. ok t/GtkAccelMap.t .................... ok t/GtkAction.t ...................... ok t/GtkActionGroup.t ................. ok t/GtkAdjustment.t .................. ok t/GtkAlignment.t ................... ok t/GtkArrow.t ....................... ok t/GtkAspectFrame.t ................. ok t/GtkAssistant.t ................... ok t/GtkBin.t ......................... ok t/GtkBindings.t .................... ok t/GtkBox.t ......................... ok t/GtkBuildable.t ................... ok t/GtkBuildableIface.t .............. ok t/GtkBuilder.t ..................... ok t/GtkButton.t ...................... ok t/GtkButtonBox.t ................... ok t/GtkCalendar.t .................... ok t/GtkCellEditable.t ................ ok t/GtkCellLayout.t .................. ok t/GtkCellLayoutIface.t ............. ok t/GtkCellRenderer.t ................ ok t/GtkCellRendererAccel.t ........... ok t/GtkCellRendererCombo.t ........... ok t/GtkCellRendererIface-Chaining.t .. ok t/GtkCellRendererPixbuf.t .......... ok t/GtkCellRendererProgress.t ........ ok t/GtkCellRendererSpin.t ............ ok t/GtkCellRendererText.t ............ ok t/GtkCellRendererToggle.t .......... ok t/GtkCellView.t .................... ok t/GtkCheckButton.t ................. ok t/GtkCheckMenuItem.t ............... ok t/GtkClipboard.t ................... ok t/GtkColorButton.t ................. ok t/GtkColorSelection.t .............. ok t/GtkColorSelectionDialog.t ........ ok t/GtkCombo.t ....................... ok t/GtkComboBox.t .................... ok t/GtkComboBoxEntry.t ............... ok t/GtkCurve.t ....................... ok Gtk-CRITICAL **: gtk_box_reorder_child: assertion `GTK_IS_WIDGET (child)' failed at t/GtkDialog.t line 74. Gtk-CRITICAL **: gtk_box_reorder_child: assertion `GTK_IS_WIDGET (child)' failed at t/GtkDialog.t line 74. Gtk-CRITICAL **: gtk_box_reorder_child: assertion `GTK_IS_WIDGET (child)' failed at t/GtkDialog.t line 75. Gtk-CRITICAL **: gtk_box_reorder_child: assertion `GTK_IS_WIDGET (child)' failed at t/GtkDialog.t line 75. Gtk-CRITICAL **: gtk_box_reorder_child: assertion `GTK_IS_WIDGET (child)' failed at t/GtkDialog.t line 75. Gtk-CRITICAL **: gtk_box_reorder_child: assertion `GTK_IS_WIDGET (child)' failed at t/GtkDialog.t line 75. t/GtkDialog.t ...................... ok t/GtkDnd.t ......................... ok t/GtkDrawingArea.t ................. ok t/GtkEditable.t .................... ok t/GtkEntry.t ....................... ok t/GtkEntryCompletion.t ............. ok t/GtkEventBox.t .................... ok t/GtkExpander.t .................... ok t/GtkFileChooser.t ................. skipped: this test is unreliable t/GtkFileChooserButton.t ........... ok t/GtkFileChooserDialog.t ........... ok t/GtkFileChooserWidget.t ........... ok t/GtkFileFilter.t .................. ok t/GtkFileSelection.t ............... ok t/GtkFixed.t ....................... ok t/GtkFontButton.t .................. ok t/GtkFontSelection.t ............... ok t/GtkFrame.t ....................... ok t/GtkGammaCurve.t .................. ok t/GtkGC.t .......................... ok t/GtkHandleBox.t ................... ok t/GtkHBox.t ........................ ok t/GtkHButtonBox.t .................. ok t/GtkHPaned.t ...................... ok t/GtkHRuler.t ...................... ok t/GtkHScale.t ...................... ok t/GtkHScrollbar.t .................. ok t/GtkHSeparator.t .................. ok t/GtkIconFactory.t ................. ok Gtk-WARNING **: Could not find the icon 'stock_edit'. The 'hicolor' theme was not found either, perhaps you need to install it. You can get a copy from: http://icon-theme.freedesktop.org/releases at t/GtkIconTheme.t line 26. t/GtkIconTheme.t ................... ok t/GtkIconView.t .................... ok # Failed test 'new_from_pixmap get_pixbuf mask isa Gtk2::Gdk::Bitmap' # at t/GtkImage.t line 103. # new_from_pixmap get_pixbuf mask isn't defined # Failed test 'set_from_pixmap get_pixbuf mask isa Gtk2::Gdk::Bitmap' # at t/GtkImage.t line 139. # set_from_pixmap get_pixbuf mask isn't defined # Looks like you failed 2 tests of 45. t/GtkImage.t ....................... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/45 subtests t/GtkImageMenuItem.t ............... ok t/GtkIMContext.t ................... ok t/GtkInputDialog.t ................. ok t/GtkInvisible.t ................... ok t/GtkItemFactory.t ................. ok t/GtkLabel.t ....................... ok t/GtkLayout.t ...................... ok t/GtkLinkButton.t .................. ok t/GtkListStore.t ................... ok t/GtkMenu.t ........................ ok t/GtkMenuBar.t ..................... ok t/GtkMenuItem.t .................... ok t/GtkMenuShell.t ................... ok t/GtkMenuToolButton.t .............. ok t/GtkMessageDialog.t ............... ok t/GtkMisc.t ........................ ok t/GtkNotebook.t .................... ok t/GtkObject.t ...................... ok t/GtkOptionMenu.t .................. ok t/GtkOrientable.t .................. ok t/GtkPageSetup.t ................... ok t/GtkPaned.t ....................... ok t/GtkPaperSize.t ................... ok t/GtkPrintContext.t ................ ok t/GtkPrintOperation.t .............. ok t/GtkPrintOperationPreview.t ....... ok # Failed test at t/GtkPrintSettings.t line 121. # got: '150' # expected: '0' # Failed test at t/GtkPrintSettings.t line 125. # got: '300' # expected: '0' # Failed test at t/GtkPrintSettings.t line 126. # got: '300' # expected: '0' # Looks like you failed 3 tests of 26. t/GtkPrintSettings.t ............... Dubious, test returned 3 (wstat 768, 0x300) Failed 3/26 subtests t/GtkProgressBar.t ................. ok t/GtkRadioAction.t ................. ok t/GtkRadioButton.t ................. ok t/GtkRadioMenuItem.t ............... ok t/GtkRadioToolButton.t ............. ok t/GtkRange.t ....................... ok t/GtkRc.t .......................... ok t/GtkRecentAction.t ................ ok t/GtkRecentChooserDialog.t ......... ok t/GtkRecentChooserMenu.t ........... ok t/GtkRecentChooserWidget.t ......... ok t/GtkRecentFilter.t ................ ok Gtk-WARNING **: Could not find the icon 'stock_edit'. The 'hicolor' theme was not found either, perhaps you need to install it. You can get a copy from: http://icon-theme.freedesktop.org/releases at t/GtkRecentManager.t line 45. t/GtkRecentManager.t ............... ok t/GtkRuler.t ....................... ok t/GtkScale.t ....................... ok t/GtkScaleButton.t ................. ok t/GtkScrolledWindow.t .............. ok t/GtkSelection.t ................... ok t/GtkSeparatorMenuItem.t ........... ok t/GtkSeparatorToolItem.t ........... ok t/GtkShow.t ........................ skipped: can only test interactively t/GtkSimpleList.t .................. ok t/GtkSimpleMenu.t .................. ok t/GtkSizeGroup.t ................... ok t/GtkSocket-GtkPlug.t .............. skipped: not appliciable on win32 t/GtkSpinButton.t .................. ok t/GtkStatusBar.t ................... ok Gtk-WARNING **: Could not find the icon 'stock_edit'. The 'hicolor' theme was not found either, perhaps you need to install it. You can get a copy from: http://icon-theme.freedesktop.org/releases at t/GtkStatusIcon.t line 60. # Failed test at t/GtkStatusIcon.t line 144. # got: '' # expected: '1' # Failed test at t/GtkStatusIcon.t line 150. # got: 'TEST1' # expected: '<b>TEST1</b>' # Looks like you failed 2 tests of 36. t/GtkStatusIcon.t .................. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/36 subtests (less 9 skipped subtests: 25 okay) t/GtkStock.t ....................... ok t/GtkStyle.t ....................... ok t/GtkTable.t ....................... ok t/GtkTearoffMenuItem.t ............. ok t/GtkTextBuffer.t .................. ok t/GtkTextBufferRichText.t .......... ok t/GtkTextChildAnchor.t ............. ok t/GtkTextIter.t .................... ok t/GtkTextMark.t .................... ok t/GtkTextTag.t ..................... ok t/GtkTextTagTable.t ................ ok Use of uninitialized value $this in pattern match (m//) at t/GtkTextView.t line 134. # Failed test 'trailing' # at t/GtkTextView.t line 134. # undef # doesn't match '(?-xism:^\d+$)' # Looks like you failed 1 test of 45. t/GtkTextView.t .................... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/45 subtests t/GtkToggleAction.t ................ ok t/GtkToggleButton.t ................ ok t/GtkToggleToolButton.t ............ ok t/GtkToolbar.t ..................... ok t/GtkToolButton.t .................. ok t/GtkToolItem.t .................... ok t/GtkToolShell.t ................... ok t/GtkTooltip.t ..................... ok t/GtkTooltips.t .................... ok t/GtkTreeDnd.t ..................... ok t/GtkTreeModel.t ................... ok t/GtkTreeModelFilter.t ............. ok t/GtkTreeModelIface.t .............. ok t/GtkTreeModelSort.t ............... ok # Failed test 'The object isa Gtk2::ListStore' # at t/GtkTreeSelection.t line 45. # The object isn't a 'Gtk2::ListStore' it's a 'Gtk2::TreeIter' # Failed test 'The thing isa Gtk2::TreeIter' # at t/GtkTreeSelection.t line 46. # The thing isn't defined Can't locate object method "get" via package "Gtk2::TreeIter" at t/GtkTreeSelection.t line 48. # Looks like you planned 29 tests but ran 5. # Looks like you failed 2 tests of 5 run. # Looks like your test exited with 255 just after 5. t/GtkTreeSelection.t ............... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 26/29 subtests t/GtkTreeSortable.t ................ ok t/GtkTreeStore.t ................... ok t/GtkTreeView-Dnd.t ................ skipped: this test is interactive Can't call method "to_string" on an undefined value at t/GtkTreeView.t line 233. # Looks like you planned 123 tests but ran 41. # Looks like your test exited with 255 just after 41. t/GtkTreeView.t .................... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 82/123 subtests t/GtkUIManager.t ................... ok t/GtkVBox.t ........................ ok t/GtkVButtonBox.t .................. ok t/GtkViewport.t .................... ok t/GtkVolumeButton.t ................ ok t/GtkVPaned.t ...................... ok t/GtkVRuler.t ...................... ok t/GtkVScale.t ...................... ok t/GtkVScrollbar.t .................. ok t/GtkVSeparator.t .................. ok t/GtkWidget.t ...................... ok t/pango-compat.t ................... ok t/PangoAttributes.t ................ ok Can't locate object method "new_for_font_type" via package "Pango::Cairo::FontMap" at t/PangoCairo.t line 24. # Looks like you planned 22 tests but ran 2. # Looks like your test exited with 2 just after 2. t/PangoCairo.t ..................... Dubious, test returned 2 (wstat 512, 0x200) Failed 20/22 subtests t/PangoContext.t ................... ok t/PangoFont.t ...................... ok t/PangoFontMap.t ................... ok t/PangoFontset.t ................... ok t/PangoGravity.t ................... ok t/PangoLayout.t .................... ok t/PangoMatrix.t .................... ok t/PangoRenderer.t .................. ok t/PangoScript.t .................... ok t/PangoTabs.t ...................... ok t/PangoTypes.t ..................... ok t/set-scroll-adjustments-signal.t .. ok t/version-checks.t ................. ok Test Summary Report ------------------- t/GdkPixbuf.t (Wstat: 512 Tests: 103 Failed: 2) Failed tests: 95, 98 Non-zero exit status: 2 t/GtkImage.t (Wstat: 512 Tests: 45 Failed: 2) Failed tests: 24, 34 Non-zero exit status: 2 t/GtkPrintSettings.t (Wstat: 768 Tests: 26 Failed: 3) Failed tests: 21, 23-24 Non-zero exit status: 3 t/GtkStatusIcon.t (Wstat: 512 Tests: 36 Failed: 2) Failed tests: 31, 33 Non-zero exit status: 2 t/GtkTextView.t (Wstat: 256 Tests: 45 Failed: 1) Failed test: 44 Non-zero exit status: 1 t/GtkTreeSelection.t (Wstat: 65280 Tests: 5 Failed: 2) Failed tests: 4-5 Non-zero exit status: 255 Parse errors: Bad plan. You planned 29 tests but ran 5. t/GtkTreeView.t (Wstat: 65280 Tests: 41 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 123 tests but ran 41. t/PangoCairo.t (Wstat: 512 Tests: 2 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 22 tests but ran 2. Files=216, Tests=4567, 98 wallclock secs ( 0.47 usr + 4.52 sys = 4.99 CPU) Result: FAIL Failed 8/216 test programs. 12/4567 subtests failed. dmake: Error code 255, while making 'test_dynamic'
_______________________________________________ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list