OSDN Git Service

fs_config: add unit tests
authorWilliam Roberts <william.c.roberts@intel.com>
Sat, 19 Nov 2016 00:12:41 +0000 (16:12 -0800)
committerDan Albert <danalbert@google.com>
Wed, 30 Nov 2016 06:05:39 +0000 (22:05 -0800)
commit92ec0ab5e84187ae42b76482a2932bdbf94f35b2
tree399ec232b32180f0f63037419d39b90f66b9376a
parent7fe8b6d8178e3f0c984ab6c05f25269ae3f9bceb
fs_config: add unit tests

Add some initial unit tests.

The unit tests themselves are inlined into the tool and
can be executed by running the "test" commandlet.

Example:
$ python -m unittest test_fs_config_generator.Tests
.............
----------------------------------------------------------------------
Ran 13 tests in 0.004s

OK

Test: run the test commandlet and observe for failures.

Change-Id: I1bada385fa841fd50fa958997d440f1198e15198
Signed-off-by: William Roberts <william.c.roberts@intel.com>
tools/fs_config/README
tools/fs_config/fs_config_generator.py
tools/fs_config/test_fs_config_generator.py [new file with mode: 0755]