diskimage-builder/diskimage_builder
Tim Miller 6cfea30246 Prevent silent failure of element-info:
bin/element-info accesses it's library via a symlink:
  bin/diskimage_builder -> diskimage_builder

This causes the relative path in elements.py to be
incorrect.

element-info silently fails in this situation, because
it allows missing 'element-deps' files, so that these files
may be optional.

This change causes element-info to fail explicitly if $ELEMENTS_DIR
is not set, as it now is when called by diskimage-create, and
adds tests reflecting this behavior.

Change-Id: Iec50f934feb13dfed64d69297a3af6ac9f842677
2013-02-18 15:18:08 -08:00
..
locale Make it possible for openstack-CI to run tests 2013-02-04 22:26:17 -08:00
__init__.py Add a test framework for testing elements. 2012-12-14 20:17:39 +13:00
elements.py Prevent silent failure of element-info: 2013-02-18 15:18:08 -08:00
test_elementdeps.py Prevent silent failure of element-info: 2013-02-18 15:18:08 -08:00
test_elements.py Prevent silent failure of element-info: 2013-02-18 15:18:08 -08:00