1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
####################################################################
# #
# THIS FILE IS PART OF THE pycollada LIBRARY SOURCE CODE. #
# USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS #
# GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE #
# IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. #
# #
# THE pycollada SOURCE CODE IS (C) COPYRIGHT 2011 #
# by Jeff Terrace and contributors #
# #
####################################################################
import os
import sys
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..'))
from collada.util import unittest
if __name__ == '__main__':
suite = unittest.TestLoader().discover("tests")
ret = unittest.TextTestRunner(verbosity=2).run(suite)
if ret.wasSuccessful():
sys.exit(0)
sys.exit(1)
|