Major overhaul of oftest command interface
Added tests/oft as top level executable
Support command line options for many config params
Use logging module for output
Got rid of oft_config.py; consolidate configuration in
oft (top level script) and pass around as a dictionary
Add oft_assert.py (the one useful piece of oft_config that
remained).
diff --git a/tools/munger/Makefile b/tools/munger/Makefile
index 9d2ad53..491c451 100644
--- a/tools/munger/Makefile
+++ b/tools/munger/Makefile
@@ -7,6 +7,7 @@
TOP_DIR = ../..
TOOLS_DIR = ..
DOC_DIR = ${TOP_DIR}/doc
+TESTS_DIR = ${TOP_DIR}/tests
PYLIBOF_DIR = ${TOOLS_DIR}/pylibopenflow
@@ -55,8 +56,11 @@
# Note that lint has issues with scapy syntax
lint: ${LINT_FILES}
+${TESTS_DIR}/oft.py:
+ ln -s oft $@
+
# For now. just local source doc generated
-doc: ${GEN_FILES} ${OTHER_FILES} ${DOC_DIR}/Doxyfile
+doc: ${GEN_FILES} ${OTHER_FILES} ${DOC_DIR}/Doxyfile ${TESTS_DIR}/oft.py
(cd ${DOC_DIR} && doxygen)
clean: