From e26aff563652e7dccfb9b0e094f475723a10dd38 Mon Sep 17 00:00:00 2001 From: Jouk Jansen Date: Thu, 29 Sep 2011 13:47:38 +0000 Subject: [PATCH] Fixes for OpenVMS on IA64 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/cppunit.h | 4 ++++ tests/descrip.mms | 41 +++++++++++++++++++++++++---------------- 2 files changed, 29 insertions(+), 16 deletions(-) diff --git a/include/wx/cppunit.h b/include/wx/cppunit.h index 9c646ff083..23d5f3dc72 100644 --- a/include/wx/cppunit.h +++ b/include/wx/cppunit.h @@ -200,6 +200,10 @@ WX_CPPUNIT_ALLOW_EQUALS_TO_INT(short) WX_CPPUNIT_ALLOW_EQUALS_TO_INT(unsigned) WX_CPPUNIT_ALLOW_EQUALS_TO_INT(unsigned long) +#if defined( __VMS ) && define( __ia64 ) +WX_CPPUNIT_ALLOW_EQUALS_TO_INT(std::basic_streambuf::pos_type); +#endif + #ifdef wxHAS_LONG_LONG_T_DIFFERENT_FROM_LONG WX_CPPUNIT_ALLOW_EQUALS_TO_INT(wxLongLong_t) WX_CPPUNIT_ALLOW_EQUALS_TO_INT(unsigned wxLongLong_t) diff --git a/tests/descrip.mms b/tests/descrip.mms index 566535e856..78fd7e4b79 100644 --- a/tests/descrip.mms +++ b/tests/descrip.mms @@ -2,7 +2,7 @@ # * # Make file for VMS * # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * -# Date : 15 December 2010 * +# Date : 28 September 2011 * # * #***************************************************************************** .first @@ -49,11 +49,8 @@ CC_DEFINE = CXXC=cxx TEST_OBJECTS = \ - test_test.obj,\ test_anytest.obj,\ test_archivetest.obj,\ - test_ziptest.obj,\ - test_tartest.obj,\ test_arrays.obj,\ test_base64.obj,\ test_cmdlinetest.obj,\ @@ -88,8 +85,9 @@ TEST_OBJECTS = \ test_misctests.obj,\ test_module.obj,\ test_pathlist.obj,\ - test_typeinfotest.obj,\ - test_ipc.obj,\ + test_typeinfotest.obj + +TEST_OBJECTS1=test_ipc.obj,\ test_socket.obj,\ test_regextest.obj,\ test_wxregextest.obj,\ @@ -130,9 +128,11 @@ TEST_OBJECTS = \ test_xlocale.obj,\ test_xmltest.obj +TEST_L_OBJs=test_ziptest.obj,\ + test_tartest.obj + TEST_GUI_OBJECTS = \ test_gui_asserthelper.obj,\ - test_gui_test.obj,\ test_gui_testableframe.obj,\ test_gui_rect.obj,\ test_gui_size.obj,\ @@ -145,8 +145,9 @@ TEST_GUI_OBJECTS = \ test_gui_bitmapcomboboxtest.obj,\ test_gui_bitmaptogglebuttontest.obj,\ test_gui_bookctrlbasetest.obj,\ - test_gui_buttontest.obj,\ - test_gui_checkboxtest.obj,\ + test_gui_buttontest.obj + +TEST_GUI_OBJECTS1=test_gui_checkboxtest.obj,\ test_gui_checklistboxtest.obj,\ test_gui_choicebooktest.obj,\ test_gui_choicetest.obj,\ @@ -169,8 +170,9 @@ TEST_GUI_OBJECTS = \ test_gui_pickertest.obj,\ test_gui_radioboxtest.obj,\ test_gui_radiobuttontest.obj,\ - test_gui_rearrangelisttest.obj,\ - test_gui_richtextctrltest.obj,\ + test_gui_rearrangelisttest.obj + +TEST_GUI_OBJECTS2=test_gui_richtextctrltest.obj,\ test_gui_slidertest.obj,\ test_gui_spinctrldbltest.obj,\ test_gui_spinctrltest.obj,\ @@ -207,12 +209,19 @@ TEST_GUI_OBJECTS = \ all : test_gtk.exe test_gui_gtk.exe write sys$output "tests created" -test_gtk.exe : $(TEST_OBJECTS) - cxxlink/exec=test_gtk.exe $(TEST_OBJECTS),\ +test_gtk.exe : test_test.obj $(TEST_OBJECTS) $(TEST_OBJECTS1) $(TEST_L_OBJS) + library/create temp.olb $(TEST_OBJECTS) + library temp.olb $(TEST_OBJECTS1) + cxxlink/exec=test_gtk.exe test_test.obj,$(TEST_L_OBJS),temp.olb/lib,\ sys$library:libcppunit.olb/lib,[-.lib]vms_gtk/opt - -test_gui_gtk.exe : $(TEST_GUI_OBJECTS) - cxxlink/exec=test_gui_gtk.exe $(TEST_GUI_OBJECTS),\ + delete temp.olb;* + +test_gui_gtk.exe : test_gui_test.obj $(TEST_GUI_OBJECTS) $(TEST_GUI_OBJECTS1)\ + $(TEST_GUI_OBJECTS2) + library/create temp.olb $(TEST_GUI_OBJECTS) + library temp.olb $(TEST_GUI_OBJECTS1) + library temp.olb $(TEST_GUI_OBJECTS2) + cxxlink/exec=test_gui_gtk.exe test_gui_test.obj,temp.olb/lib,\ sys$library:libcppunit.olb/lib,[-.lib]vms_gtk/opt .else .ifdef __WXX11__ -- 2.45.2