| Revision 322,
351 bytes
checked in by xi, 4 years ago
(diff) |
|
Refactored the test suite; updated include and library paths in setup.cfg.
|
| Rev | Line | |
|---|
| [195] | 1 | |
|---|
| 2 | |
|---|
| [322] | 3 | if __name__ == '__main__': |
|---|
| [195] | 4 | import sys, os, distutils.util |
|---|
| 5 | build_lib = 'build/lib' |
|---|
| 6 | build_lib_ext = os.path.join('build', 'lib.%s-%s' % (distutils.util.get_platform(), sys.version[0:3])) |
|---|
| 7 | sys.path.insert(0, build_lib) |
|---|
| 8 | sys.path.insert(0, build_lib_ext) |
|---|
| [322] | 9 | import test_yaml_ext, test_appliance |
|---|
| 10 | test_appliance.run(test_yaml_ext) |
|---|
| [195] | 11 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.