Changes between Version 32 and Version 33 of OpenFlow/FOAM/Testing
- Timestamp:
- 07/06/12 16:18:35 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OpenFlow/FOAM/Testing
v32 v33 1071 1071 == Automation == 1072 1072 1073 We have a wrapper script that does all of that automatically, but it's also GPO-only at the moment. For GPO people, it's foam-run-auto-approval-tests, and you run it like this: 1074 1075 {{{ 1076 foam-run-auto-approval-tests $foamserver 0 1073 We have a wrapper script that does all of that automatically, but it's also GPO-only at the moment. For GPO people, it's foam-run-auto-approval-tests, and you can run it like this: 1074 1075 {{{ 1076 foam-run-auto-approval-tests $foamserver 2 |& tee auto-approval-results.txt 1077 grep ERROR auto-approval-results.txt 1077 1078 }}} 1078 1079 1079 1080 where the first argument is the FOAM server, and the second is the approval mode to test. (You can test an approval mode other than the one that the server is in, if you want to confirm that you get lots of error output when the test results aren't as expected -- it just tells the script what mode to test, it doesn't change anything on the server.) 1081 1082 The 'grep ERROR' at the end is to find any actual errors (at which point you can go looking in the full log for the details). 1080 1083 1081 1084 You may also want to disable some e-mail notifications temporarily, as above, and re-enable them afterwards; the script doesn't do that for you.