summaryrefslogtreecommitdiff
path: root/test/TEST-02-UNITTESTS
Commit message (Collapse)AuthorAgeFilesLines
* test: on openSUSE install the collection of unit test binaries in the target ↵Franck Bui2023-03-241-0/+7
| | | | only for TEST-02-UNITTESTS
* test: ignore missing coverage in TEST-02Frantisek Sumsal2022-04-071-0/+4
| | | | | | | Since c6552ad we now try to collect coverage even in situations where it's basically impossible (like in test-mount-util where the whole / is mounted as read-only). As dealing with this is not worth the trouble, let's ignore the missing coverage errors thrown by gcov in such cases.
* tests: add spdx headers to scripts and MakefilesZbigniew Jędrzejewski-Szmek2021-10-181-0/+1
|
* test: move custom result checks from TEST-02-UNITTESTS to test-functionsLuca Boccassi2021-06-211-54/+2
|
* test: do not fail TEST-02-UNITTESTS if they are all skippedLuca Boccassi2021-06-211-0/+4
| | | | | The return code is initialized to fail if /testok is not found, but that also covers the case where all tests are skipped.
* test: "detect" the test number automagicallyFrantisek Sumsal2021-04-261-1/+1
| | | | | | Specifying the test number manually is tedious and prone to errors (as recently proven). Since we have all the necessary data to work out the test number, let's do it automagically.
* test: move the logic to support /skipped into shared logicZbigniew Jędrzejewski-Szmek2021-04-231-2/+2
| | | | | | The logic to query test state was rather complex. I don't quite grok the point of ret=$((ret+1))… But afaics, the precise result was always ignored by the caller anyway.
* test: make the test entrypoint scripts shellcheck-compliantFrantisek Sumsal2021-04-201-27/+38
|
* test: switch TEST-02-CRYPTSETUP and TEST-24-UNITTESTSZbigniew Jędrzejewski-Szmek2020-09-243-0/+64
When tests are executed serially (the default), it seems better to launch the fairly generic test that runs the unittests early in the sequence. Right now the tests are ordered based on when they were written, but this doesn't make much sense.