[csw-devel] SF.net SVN: gar:[11315] csw/mgar/gar/v2

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sat Oct 16 02:23:21 CEST 2010


Revision: 11315
          http://gar.svn.sourceforge.net/gar/?rev=11315&view=rev
Author:   wahwah
Date:     2010-10-16 00:23:21 +0000 (Sat, 16 Oct 2010)

Log Message:
-----------
mGAR: checkpkg, added new test file to common tests, and fixed a bug caucht by a unit test in shared libraries code.

Modified Paths:
--------------
    csw/mgar/gar/v2/lib/python/package_checks.py
    csw/mgar/gar/v2/tests/run_tests.py

Modified: csw/mgar/gar/v2/lib/python/package_checks.py
===================================================================
--- csw/mgar/gar/v2/lib/python/package_checks.py	2010-10-16 00:22:38 UTC (rev 11314)
+++ csw/mgar/gar/v2/lib/python/package_checks.py	2010-10-16 00:23:21 UTC (rev 11315)
@@ -1001,7 +1001,10 @@
   if len(linkable_shared_libs) > 1:
     sonames = sorted(set([x[0] for x in linkable_shared_libs]))
     tmp = su.MakePackageNameBySonameCollection(sonames)
-    multilib_pkgnames, multilib_catalogname = tmp
+    if tmp:
+      multilib_pkgnames, multilib_catalogname = tmp
+    else:
+      multilib_pkgnames, multilib_catalogname = (None, None)
     if not multilib_pkgnames:
       error_mgr.ReportError(
           "non-uniform-lib-versions-in-package",

Modified: csw/mgar/gar/v2/tests/run_tests.py
===================================================================
--- csw/mgar/gar/v2/tests/run_tests.py	2010-10-16 00:22:38 UTC (rev 11314)
+++ csw/mgar/gar/v2/tests/run_tests.py	2010-10-16 00:23:21 UTC (rev 11315)
@@ -19,6 +19,7 @@
 from catalog_test            import *
 from package_test            import *
 from package_stats_test      import *
+from submit_to_newpkgs_test  import *
 
 # These are very slow GAR tests, which I'm disabling for now.
 # from example_test            import *


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list