Changeset 2725 in MondoRescue for branches/2.2.9/mindi-busybox/testsuite/README
- Timestamp:
- Feb 25, 2011, 9:26:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi-busybox/testsuite/README
r902 r2725 1 Update: doesn't work as described. Try "make check" from parent dir...2 * * *3 4 1 To run the test suite, change to this directory and run "./runtest". It will 5 2 run all of the test cases, and list those with unexpected outcomes. Adding the 6 3 -v option will cause it to show expected outcomes as well. To only run the test 7 cases for particular applets , specify them as parameters to runtest.4 cases for particular applets: 8 5 9 The test cases for an applet reside in the subdirectory of the applet name. The 10 name of the test case should be the assertion that is tested. The test case 11 should be a shell fragment that returns successfully if the test case passes, 12 and unsuccessfully otherwise. 6 ./runtest <applet1> <applet2>... 7 8 Set SKIP_KNOWN_BUGS environment variable to any non-empty value 9 to exclude tests which are known to fail. 10 11 Set SKIP_INTERNET_TESTS to exclude tests which require working 12 internet connection. 13 14 15 Common causes of false positives: 16 17 For busybox built against uclibc, /etc/TZ does not exist or does not match 18 host system timezone setting. For glibc based host systems, timezone settings 19 are in /etc/localtime. 20 21 LANG and LC_xxx environment variables set to non-C locale. 22 23 24 Developer's notes: 25 26 The test cases for an applet reside in the subdirectory of the applet name. 27 The name of the test case should be the assertion that is tested. 28 The test case should be a shell fragment that returns successfully 29 if the test case passes, and unsuccessfully otherwise. 13 30 14 31 If the test case relies on a certain feature, it should include the string 15 32 "FEATURE: " followed by the name of the feature in a comment. If it is always 16 33 expected to fail, it should include the string "XFAIL" in a comment. 34 17 35 18 36 For the entire testsuite, the copyright is as follows:
Note:
See TracChangeset
for help on using the changeset viewer.