From: <kk...@us...> - 2008-09-02 15:16:40
|
Revision: 904 http://omc.svn.sourceforge.net/omc/?rev=904&view=rev Author: kkaempf Date: 2008-09-02 15:16:46 +0000 (Tue, 02 Sep 2008) Log Message: ----------- document the tests a bit Added Paths: ----------- cmpi-bindings/trunk/test/python/README Added: cmpi-bindings/trunk/test/python/README =================================================================== --- cmpi-bindings/trunk/test/python/README (rev 0) +++ cmpi-bindings/trunk/test/python/README 2008-09-02 15:16:46 UTC (rev 904) @@ -0,0 +1,36 @@ +These are tests for the various CMPI interface functions + + +Setup +----- + +- Be sure you have the latest pywbem from + https://pywbem.svn.sourceforge.net/svnroot/pywbem/pywbem/trunk + (svn co https://pywbem.svn.sourceforge.net/svnroot/pywbem/pywbem/trunk pywbem) + + [Debug setup: + x86_64 + # cd pywbem + # rm /usr/lib64/python/site-packages/pywbem/*.py + # ln -s `pwd`/*.py /usr/lib64/python/site-packages/pywbem/ + + x86 + # cd pywbem + # rm /usr/lib/python/site-packages/pywbem/*.py + # ln -s `pwd`/*.py /usr/lib/python/site-packages/pywbem/ + ] + +- Create symlinks for sfcb mof/reg + + sudo ./setup.sh + + This also runs "sfcbrepos -f" + +- Restart sfcbd + +- now run TestMethod_Test.py, TestAtomProvider_Test.py as root. + (they only need to run as root because they use the passwordless local unix connection). + those two tests should all pass. + test_assoc.py should partially pass. + + ["Property Not Found in PropertyList: uint64" is an expected error] \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kk...@us...> - 2008-09-05 05:32:49
|
Revision: 914 http://omc.svn.sourceforge.net/omc/?rev=914&view=rev Author: kkaempf Date: 2008-09-05 05:32:58 +0000 (Fri, 05 Sep 2008) Log Message: ----------- document test symlinks for cmpi-bindings Modified Paths: -------------- cmpi-bindings/trunk/test/python/README Modified: cmpi-bindings/trunk/test/python/README =================================================================== --- cmpi-bindings/trunk/test/python/README 2008-09-04 16:33:46 UTC (rev 913) +++ cmpi-bindings/trunk/test/python/README 2008-09-05 05:32:58 UTC (rev 914) @@ -20,14 +20,27 @@ # ln -s `pwd`/*.py /usr/lib/python/site-packages/pywbem/ ] + +- Create symlinks for cmpi-bindings + + cd build/swig/python + sudo ln -s `pwd`/libpyCmpiProvider.so /usr/lib/cmpi + sudo ln -s `pwd`/cmpi.py /usr/lib/python2.5/site-packages + cd ../../.. + cd swig/python + sudo ln -s `pwd`/pycmpi_provider.py /usr/lib/python2.5/site-packages + + - Create symlinks for sfcb mof/reg sudo ./setup.sh This also runs "sfcbrepos -f" - + + - Restart sfcbd + - now run TestMethod_Test.py, TestAtomProvider_Test.py as root. (they only need to run as root because they use the passwordless local unix connection). those two tests should all pass. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <np...@us...> - 2008-10-23 19:45:29
|
Revision: 1127 http://omc.svn.sourceforge.net/omc/?rev=1127&view=rev Author: npaxton Date: 2008-10-23 19:45:24 +0000 (Thu, 23 Oct 2008) Log Message: ----------- Update test README to more accurately reflect current state Modified Paths: -------------- cmpi-bindings/trunk/test/python/README Modified: cmpi-bindings/trunk/test/python/README =================================================================== --- cmpi-bindings/trunk/test/python/README 2008-10-23 19:41:36 UTC (rev 1126) +++ cmpi-bindings/trunk/test/python/README 2008-10-23 19:45:24 UTC (rev 1127) @@ -22,28 +22,30 @@ - Create symlinks for cmpi-bindings + (If appropriate, substitute python2.5 with python2.4) cd build/swig/python sudo ln -s `pwd`/libpyCmpiProvider.so /usr/lib/cmpi sudo ln -s `pwd`/cmpi.py /usr/lib/python2.5/site-packages cd ../../.. cd swig/python - sudo ln -s `pwd`/pycmpi_provider.py /usr/lib/python2.5/site-packages + sudo ln -s `pwd`/cmpi_pywbem_bindings.py /usr/lib/python2.5/site-packages - Create symlinks for sfcb mof/reg - sudo ./setup.sh + sudo ./install.sh + This also runs "sfcbrepos -f" - This also runs "sfcbrepos -f" + if you are installing to test on Pegasus, use the '--op' option -- Restart sfcbd +- Restart sfcbd or tog-pegasus (cimserver) -- now run TestMethod_Test.py, TestAtomProvider_Test.py as root. +- now run TestMethod_Test.py, TestAtomProvider_Test.py, test_assoc.py, UpcallAtomTest.py, and TestIndications.py as root. (they only need to run as root because they use the passwordless local unix connection). - those two tests should all pass. - test_assoc.py should partially pass. + (To run against Pegasus, run with option: '-u /var/run/tog-pegasus/cimxml.socket' to use the local unix connection) + They should all pass. - ["Property Not Found in PropertyList: uint64" is an expected error] \ No newline at end of file + ["Property Not Found in PropertyList: uint64" is an expected error] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |