source: pyyaml/trunk/tests/test_build.py @ 322

Revision 322, 342 bytes checked in by xi, 6 years ago (diff)

Refactored the test suite; updated include and library paths in setup.cfg.

RevLine 
[39]1
[322]2if __name__ == '__main__':
[39]3    import sys, os, distutils.util
4    build_lib = 'build/lib'
[311]5    build_lib_ext = os.path.join('build', 'lib.%s-%s' % (distutils.util.get_platform(), sys.version[0:3]))
[39]6    sys.path.insert(0, build_lib)
[311]7    sys.path.insert(0, build_lib_ext)
[322]8    import test_yaml, test_appliance
9    test_appliance.run(test_yaml)
[39]10
Note: See TracBrowser for help on using the repository browser.