xref: /aosp_15_r20/external/toybox/tests/README.txt (revision cf5a6c84e2b8763fc1a7db14496fd4742913b199)
1*cf5a6c84SAndroid Build Coastguard WorkerThe build infrastructure adds a "make test_NAME" target for each NAME.test
2*cf5a6c84SAndroid Build Coastguard Workerfile in this directory, and "make tests" iterates through all of them.
3*cf5a6c84SAndroid Build Coastguard Worker
4*cf5a6c84SAndroid Build Coastguard WorkerIndividual tests boil down to a call to "scripts/test.sh NAME", and
5*cf5a6c84SAndroid Build Coastguard Workertesting all is "scripts/test.sh" with no arguments.
6*cf5a6c84SAndroid Build Coastguard Worker
7*cf5a6c84SAndroid Build Coastguard WorkerThe test infrastructure, including the shell functions each test calls
8*cf5a6c84SAndroid Build Coastguard Worker(mostly "testcmd" and "optional") is described in scripts/test.sh
9