On Wed, 29 Jan 2014 12:06:12 +0900 Simon Horman <[email protected]> wrote:
> Signed-off-by: Simon Horman <[email protected]> > --- > ryu/tests/unit/ofproto/test_parser.py | 31 ++++++++++++++++++++++++++++++- > 1 file changed, 30 insertions(+), 1 deletion(-) You need to add OF1.4 on-wire message data and JSON formats to the upstream before enabling unit tests. Otherwise, we hit the following error: ====================================================================== ERROR: Failure: OSError ([Errno 2] No such file or directory: '../packet_data/of14') ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fujita/git/ryu/.venv/lib/python2.7/site-packages/nose/loader.py", line 413, in loadTestsFromName addr.filename, addr.module) File "/Users/fujita/git/ryu/.venv/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/Users/fujita/git/ryu/.venv/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/Users/fujita/git/ryu/ryu/tests/unit/ofproto/test_parser.py", line 245, in <module> _add_tests() File "/Users/fujita/git/ryu/ryu/tests/unit/ofproto/test_parser.py", line 227, in _add_tests for file in os.listdir(pdir): OSError: [Errno 2] No such file or directory: '../packet_data/of14' ------------------------------------------------------------------------------ WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
