summaryrefslogtreecommitdiff
path: root/testsuite/runtest
AgeCommit message (Collapse)Author
2005-09-04General cleanup of command line parsing to allow "busybox" to work as a prefix.Rob Landley
(I.E. any argv[0] that starts with "busybox" winds up in busybox_main().) Added testing/busybox.tests which tests the following permutations: ./busybox ./busybox-suffix ./busybox cat ./busybox-suffix cat ./busybox --help ./busybox-suffix --help ./busybox --help cat ./busybox-suffix --help cat ./busybox --help unknown ./busybox-suffix --help unknown ./unknown Also repair the test suite so ./runtest calls the ".tests" scripts properly. Note: you can now go "busybox busybox busbox ls -l" and it'll take it. The new code is pretty generic. I can block that if anybody can come up with a good reason to...
2005-09-02Working on a new test harness. Moved the sort tests into it.Rob Landley
2004-10-08egor duda writes:Eric Andersen
Hi! I've created a patch to busybox' build system to allow building it in separate tree in a manner similar to kbuild from kernel version 2.6. That is, one runs command like 'make O=/build/some/where/for/specific/target/and/options' and everything is built in this exact directory, provided that it exists. I understand that applyingc such invasive changes during 'release candidates' stage of development is at best unwise. So, i'm currently asking for comments about this patch, starting from whether such thing is needed at all to whether it coded properly. 'make check' should work now, and one make creates Makefile in build directory, so one can run 'make' in build directory after that. One possible caveat is that if we build in some directory other than source one, the source directory should be 'distclean'ed first. egor
2004-04-06Kill off the old 'tests' stuff. Write a ton of new tests for theEric Andersen
'testsuite' dir. Fix a bunch of broken tests. Fix the testsuite 'runtest' script so it actually reports all failures and provides meaningful feedback. -Erik
2004-04-06Fix the test suite script so it actually works and actually flagsEric Andersen
all errors as such. Make verbose mode exit on FAIL and provide a printout of the failed test run.
2002-03-27* testsuite/runtest (run_applet_testcase): Return test case status, notMatt Kraai
process ID.
2002-02-19* testsuite/runtest (show_result): Change UPASS to XPASS.Matt Kraai
(run_applet_testcase): Likewise.
2002-02-19* testsuite/README: Change "UNSUPPORTED" tag to "FEATURE".Matt Kraai
* testsuite/runtest (run_applet_testcase): Likewise. * testsuite/cp/cp-preserves-hard-links: Likewise. * testsuite/grep/egrep-supports-extended-regexps: Likewise. * testsuite/grep/grep-is-also-egrep: Likewise. * testsuite/tar/tar-archives-multiple-files: Likewise. * testsuite/tar/tar-handles-empty-include-and-non-empty-exclude-list: Likewise. * testsuite/tar/tar-handles-exclude-and-extract-lists: Likewise. * testsuite/tar/tar-handles-nested-exclude: Likewise.
2002-02-19* testsuite/runtest (run_applet_testcase): Return UNTESTED instead ofMatt Kraai
UNSUPPORTED for missing applets and features.
2002-01-02* testsuite/README: Document -v option.Matt Kraai
* testsuite/runtest: Handle -v option. (show_result): New. (run_applet_testcase): Call it.
2001-10-30Merge test suite.Matt Kraai