> Revision > 9402 <http://viewcvs.osafoundation.org/chandler?view=rev&rev=9402> > Author > dan [...] > +if sys.platform == "linux2" : tests_to_run = exclude(tests_to_run, > exclude_on_linux) > +if sys.platform == "darwin" : tests_to_run = exclude(tests_to_run, > exclude_on_mac) > +if sys.platform == "win32" : tests_to_run = exclude(tests_to_run, > exclude_on_windows)
I would prefer if we checked for Windows and OS X and made all other OSes to go the Linux route (i.e. if win, elif mac, else ). We've also used os.name and sys.platform together to figure out where we are running, but as long as we need the OSAF specific Python the above will work. -- Heikki Toivonen
signature.asc
Description: OpenPGP digital signature
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Open Source Applications Foundation "Dev" mailing list http://lists.osafoundation.org/mailman/listinfo/dev
