2018-04-08 16:19:24 +02:00
|
|
|
# **********************************************************************************************************************************
|
|
|
|
# Test Definition
|
|
|
|
#
|
|
|
|
# Contains definitions for all unit and integration tests.
|
|
|
|
#
|
|
|
|
# The definitions consist of modules and tests. Modules group together tests that are related and allow common settings for all the
|
|
|
|
# tests. Every module and test must have a name. Tests must also have a total. If this total does not match the actual number of
|
|
|
|
# runs in a test then an error will be thrown.
|
|
|
|
#
|
|
|
|
# Most options can be set for modules and tests (test option will override module option if both are set):
|
|
|
|
# * db - determines if the test will be run against multiple db versions
|
2018-11-03 22:34:04 +02:00
|
|
|
# * define - defines for C code (will also be applied to the test harness)
|
2019-12-14 00:55:41 +02:00
|
|
|
# * binReq - is the pgbackrest binary required for this test?
|
2019-10-08 18:06:30 +02:00
|
|
|
# * containerReq - is this test required to run in a container?
|
2018-04-08 16:19:24 +02:00
|
|
|
#
|
|
|
|
# Some options are unique to tests:
|
2021-01-15 17:56:51 +02:00
|
|
|
# * coverage - a list of code modules that the test provides coverage for. A code module may be covered by multiple tests. That
|
|
|
|
# means you must run all the tests by providing the --run option multiple times to get full coverage on the code module. If
|
2022-12-31 05:10:44 +02:00
|
|
|
# a code module contains only data it should be marked noCode (e.g. - help/help.auto: noCode). If a code module is included
|
|
|
|
# in another code module it should be marked as included (e.g. - md5.vendor: included).
|
2021-01-27 17:57:42 +02:00
|
|
|
# * feature - Defines a feature that is now available in the harness. For example, the "error" feature defines HRN_FEATURE_ERROR
|
|
|
|
# used to automatically check for errors in later tests. The common/error test is not able to access this error handling
|
|
|
|
# because it is used to implement the error handling, so it must do error testing in a more primitive way.
|
|
|
|
# * harness - Adds a harness module that contains functions to aid in testing. For example, the "log" harness includes the
|
|
|
|
# common/harnessLog module to aid in expect log testing.
|
2021-05-21 00:47:31 +02:00
|
|
|
# * shim - list of modules that are shimmed in the harness. This allows the harness to access static elements of the module to
|
|
|
|
# provide additional services for unit testing. A shim can have a 'function' list. In this case the listed functions in the
|
|
|
|
# C module will be appended with _SHIMMED and an implementation with the same function signature must be provided in the
|
|
|
|
# harness. Generally speaking this function will default to calling the original function, but after some initialization the
|
|
|
|
# shim may implement other logic that is useful for unit testing.
|
2021-01-27 17:57:42 +02:00
|
|
|
# * depend - Source modules that this test depends on that have not already been included in prior tests via coverage. Ideally
|
|
|
|
# this option would never be used because it is essentially documenting cross-dependencies in the code.
|
2018-04-08 16:19:24 +02:00
|
|
|
# * total - total runs in the test
|
|
|
|
# * vm - VMs that the test will be run on
|
2019-07-26 02:15:06 +02:00
|
|
|
# * include - modules to include directly into test.c (all files in coverage are automatically included)
|
|
|
|
# This is useful when a module's internal data needs to be manipulated for testing but no coverage is added by the test.
|
2018-04-08 16:19:24 +02:00
|
|
|
# **********************************************************************************************************************************
|
2018-04-24 15:12:25 +02:00
|
|
|
|
|
|
|
# **********************************************************************************************************************************
|
|
|
|
# Unit tests
|
|
|
|
# **********************************************************************************************************************************
|
|
|
|
unit:
|
|
|
|
|
2018-04-08 16:19:24 +02:00
|
|
|
# ********************************************************************************************************************************
|
|
|
|
- name: common
|
|
|
|
|
|
|
|
test:
|
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: error
|
2021-10-01 21:29:31 +02:00
|
|
|
total: 9
|
2021-01-27 17:57:42 +02:00
|
|
|
feature: error
|
2021-06-10 15:21:15 +02:00
|
|
|
harness:
|
|
|
|
name: error
|
|
|
|
shim:
|
2023-04-06 08:38:49 +02:00
|
|
|
common/error/error: ~
|
2018-04-08 16:19:24 +02:00
|
|
|
|
|
|
|
coverage:
|
2023-04-06 08:38:49 +02:00
|
|
|
- common/error/error
|
|
|
|
- common/error/error.auto: noCode
|
2018-04-08 16:19:24 +02:00
|
|
|
|
2021-01-27 17:57:42 +02:00
|
|
|
depend:
|
|
|
|
- common/stackTrace
|
|
|
|
|
2018-04-08 16:19:24 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
2021-01-27 17:57:42 +02:00
|
|
|
- name: stack-trace
|
|
|
|
total: 4
|
2021-01-28 00:25:13 +02:00
|
|
|
feature: stackTrace
|
2023-01-12 05:22:26 +02:00
|
|
|
harness:
|
|
|
|
name: stackTrace
|
|
|
|
shim:
|
|
|
|
common/stackTrace:
|
|
|
|
function:
|
|
|
|
- stackTraceBackCallback
|
2018-04-08 16:19:24 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-01-27 17:57:42 +02:00
|
|
|
- common/stackTrace
|
2018-04-08 16:19:24 +02:00
|
|
|
|
2021-01-28 00:25:13 +02:00
|
|
|
depend:
|
|
|
|
- common/debug
|
2023-01-12 12:14:36 +02:00
|
|
|
- common/type/stringStatic
|
2021-01-28 00:25:13 +02:00
|
|
|
|
2018-04-08 16:19:24 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: assert-off
|
2019-01-21 17:41:59 +02:00
|
|
|
total: 1
|
2018-11-03 22:34:04 +02:00
|
|
|
define: -DNDEBUG
|
2018-04-08 16:19:24 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-01-15 17:56:51 +02:00
|
|
|
- common/assert: noCode
|
2018-04-08 16:19:24 +02:00
|
|
|
|
2018-04-13 02:42:26 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
2021-01-27 17:57:42 +02:00
|
|
|
- name: debug-off
|
2021-05-21 18:51:32 +02:00
|
|
|
total: 1
|
2021-01-27 17:57:42 +02:00
|
|
|
define: -DNDEBUG
|
2018-04-13 02:42:26 +02:00
|
|
|
|
2018-04-08 16:19:24 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
2021-01-27 17:57:42 +02:00
|
|
|
- name: assert-on
|
2021-11-24 23:09:45 +02:00
|
|
|
feature: assert
|
2021-01-27 17:57:42 +02:00
|
|
|
total: 1
|
2018-04-08 16:19:24 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-01-27 17:57:42 +02:00
|
|
|
- common/assert: noCode
|
2018-04-08 16:19:24 +02:00
|
|
|
|
2023-01-12 12:36:57 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: type-convert
|
|
|
|
total: 12
|
|
|
|
|
|
|
|
coverage:
|
|
|
|
- common/type/convert
|
|
|
|
|
2024-08-17 07:58:55 +02:00
|
|
|
depend:
|
|
|
|
- common/time
|
|
|
|
|
2018-04-08 16:19:24 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
2021-01-27 17:57:42 +02:00
|
|
|
- name: time
|
|
|
|
total: 3
|
2023-04-06 09:03:46 +02:00
|
|
|
harness:
|
|
|
|
name: time
|
|
|
|
shim:
|
|
|
|
common/time:
|
|
|
|
function:
|
|
|
|
- timeMSec
|
2018-04-08 16:19:24 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-01-27 17:57:42 +02:00
|
|
|
- common/time
|
2018-04-08 16:19:24 +02:00
|
|
|
|
2024-08-17 07:58:55 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: mem-context
|
|
|
|
total: 8
|
|
|
|
feature: memContext
|
|
|
|
|
|
|
|
coverage:
|
|
|
|
- common/memContext
|
|
|
|
|
2021-02-20 00:05:15 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: encode
|
2022-12-11 14:46:48 +02:00
|
|
|
total: 3
|
2021-02-20 00:05:15 +02:00
|
|
|
|
|
|
|
coverage:
|
|
|
|
- common/encode
|
|
|
|
|
2021-04-08 16:04:57 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: type-object
|
|
|
|
total: 1
|
|
|
|
|
|
|
|
coverage:
|
|
|
|
- common/type/object
|
|
|
|
|
2022-07-08 23:21:39 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: type-blob
|
|
|
|
total: 1
|
|
|
|
|
|
|
|
coverage:
|
|
|
|
- common/type/blob
|
|
|
|
|
2018-04-08 16:19:24 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
2021-01-27 17:57:42 +02:00
|
|
|
- name: type-string
|
2022-12-30 11:26:48 +02:00
|
|
|
total: 26
|
2021-01-27 17:57:42 +02:00
|
|
|
feature: string
|
2018-04-08 16:19:24 +02:00
|
|
|
|
|
|
|
coverage:
|
2022-12-31 05:26:11 +02:00
|
|
|
- build/common/string
|
|
|
|
- common/type/string: included
|
2022-05-06 18:32:49 +02:00
|
|
|
- common/type/stringZ
|
Add StringId type.
It is often useful to represent identifiers as strings when they cannot easily be represented as an enum/integer, e.g. because they are distributed among a number of unrelated modules or need to be passed to remote processes. Strings are also more helpful in debugging since they can be recognized without cross-referencing the source. However, strings are awkward to work with in C since they cannot be directly used in switch statements leading to less efficient if-else structures.
A StringId encodes a short string into an integer so it can be used in switch statements but may also be readily converted back into a string for debugging purposes. StringIds may also be suitable for matching user input providing the strings are short enough.
This patch includes a sample of StringId usage by converting protocol commands to StringIds. There are many other possible use cases. To list a few:
* All "types" in storage, filters. IO , etc. These types are primarily for identification and debugging so they fit well with this model.
* MemContext names would work well as StringIds since these are entirely for debugging.
* Option values could be represented as StringIds which would mean we could remove the functions that convert strings to enums, e.g. CipherType.
* There are a number of places where enums need to be converted back to strings for logging/debugging purposes. An example is protocolParallelJobToConstZ. If ProtocolParallelJobState were defined as:
typedef enum
{
protocolParallelJobStatePending = STRID5("pend", ...),
protocolParallelJobStateRunning = STRID5("run", ...),
protocolParallelJobStateDone = STRID5("done", ...),
} ProtocolParallelJobState;
then protocolParallelJobToConstZ() could be replaced with strIdToZ(). This also applies to many enums that we don't covert to strings for logging, such as CipherMode.
As an example of usage, convert all protocol commands from strings to StringIds.
2021-04-20 21:22:42 +02:00
|
|
|
- common/type/stringId
|
2021-01-27 17:57:42 +02:00
|
|
|
- common/type/stringList
|
2018-04-08 16:19:24 +02:00
|
|
|
|
2021-01-27 18:50:10 +02:00
|
|
|
depend:
|
|
|
|
- common/type/buffer
|
|
|
|
- common/type/keyValue
|
|
|
|
- common/type/list
|
|
|
|
- common/type/variant
|
|
|
|
- common/type/variantList
|
|
|
|
|
2023-04-06 09:03:46 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: error-retry
|
|
|
|
total: 1
|
|
|
|
harness:
|
|
|
|
name: errorRetry
|
|
|
|
shim:
|
|
|
|
common/error/retry:
|
|
|
|
function:
|
2023-09-09 18:54:55 +02:00
|
|
|
- errRetryMessage
|
2023-04-06 09:03:46 +02:00
|
|
|
|
|
|
|
coverage:
|
|
|
|
- common/error/retry
|
|
|
|
|
2018-04-11 15:36:12 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
2021-01-27 17:57:42 +02:00
|
|
|
- name: type-list
|
|
|
|
total: 4
|
2018-04-11 15:36:12 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-01-27 17:57:42 +02:00
|
|
|
- common/type/list
|
2018-04-11 15:36:12 +02:00
|
|
|
|
2018-04-08 16:19:24 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
2021-01-27 17:57:42 +02:00
|
|
|
- name: type-buffer
|
2022-12-11 14:46:48 +02:00
|
|
|
total: 5
|
2018-04-08 16:19:24 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-01-27 17:57:42 +02:00
|
|
|
- common/type/buffer
|
2018-04-08 16:19:24 +02:00
|
|
|
|
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
2021-01-27 17:57:42 +02:00
|
|
|
- name: type-variant
|
|
|
|
total: 12
|
2018-04-08 16:19:24 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-01-27 17:57:42 +02:00
|
|
|
- common/type/variant
|
|
|
|
- common/type/variantList
|
2018-04-08 16:19:24 +02:00
|
|
|
|
2018-05-18 17:57:32 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
2021-01-27 17:57:42 +02:00
|
|
|
- name: reg-exp
|
|
|
|
total: 3
|
2018-05-18 17:57:32 +02:00
|
|
|
|
|
|
|
coverage:
|
2022-12-31 07:54:33 +02:00
|
|
|
- build/common/regExp
|
|
|
|
- common/regExp: included
|
2018-05-18 17:57:32 +02:00
|
|
|
|
2020-03-31 02:52:57 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
2021-01-27 17:57:42 +02:00
|
|
|
- name: log
|
|
|
|
total: 5
|
|
|
|
feature: log
|
2021-05-21 18:51:32 +02:00
|
|
|
harness:
|
|
|
|
name: log
|
|
|
|
shim:
|
|
|
|
common/log: ~
|
2020-03-31 02:52:57 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-01-27 17:57:42 +02:00
|
|
|
- common/log
|
2020-03-31 02:52:57 +02:00
|
|
|
|
2018-04-08 16:19:24 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
2021-01-27 17:57:42 +02:00
|
|
|
- name: debug-on
|
2023-01-12 12:14:36 +02:00
|
|
|
total: 4
|
2021-01-27 17:57:42 +02:00
|
|
|
feature: debug
|
2018-04-08 16:19:24 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-01-27 17:57:42 +02:00
|
|
|
- common/debug
|
2023-01-12 12:14:36 +02:00
|
|
|
- common/type/stringStatic
|
2018-04-08 16:19:24 +02:00
|
|
|
|
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
2021-01-27 17:57:42 +02:00
|
|
|
- name: fork
|
|
|
|
total: 1
|
2018-04-08 16:19:24 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-01-27 17:57:42 +02:00
|
|
|
- common/fork
|
2018-04-08 16:19:24 +02:00
|
|
|
|
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
2021-01-27 17:57:42 +02:00
|
|
|
- name: wait
|
|
|
|
total: 1
|
2018-04-08 16:19:24 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-01-27 17:57:42 +02:00
|
|
|
- common/wait
|
2018-04-08 16:19:24 +02:00
|
|
|
|
2018-08-09 14:06:23 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: type-json
|
2022-04-25 15:06:26 +02:00
|
|
|
total: 2
|
2018-08-09 14:06:23 +02:00
|
|
|
|
|
|
|
coverage:
|
2024-05-31 06:52:07 +02:00
|
|
|
- build/common/json
|
|
|
|
- common/type/json: included
|
2018-08-09 14:06:23 +02:00
|
|
|
|
2018-04-08 16:19:24 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: type-key-value
|
|
|
|
total: 2
|
|
|
|
|
|
|
|
coverage:
|
2021-01-15 17:56:51 +02:00
|
|
|
- common/type/keyValue
|
2018-04-08 16:19:24 +02:00
|
|
|
|
2018-07-25 03:08:27 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
2018-11-21 03:40:11 +02:00
|
|
|
- name: type-xml
|
|
|
|
total: 1
|
|
|
|
|
|
|
|
coverage:
|
2022-12-31 06:09:50 +02:00
|
|
|
- build/common/xml
|
|
|
|
- common/type/xml: included
|
2018-11-21 03:40:11 +02:00
|
|
|
|
2020-08-20 20:04:26 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: stat
|
|
|
|
total: 1
|
2021-01-27 17:57:42 +02:00
|
|
|
feature: STAT
|
2020-08-20 20:04:26 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-01-15 17:56:51 +02:00
|
|
|
- common/stat
|
2020-08-20 20:04:26 +02:00
|
|
|
|
2019-09-09 02:11:51 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: user
|
|
|
|
total: 1
|
|
|
|
|
|
|
|
coverage:
|
2021-01-15 17:56:51 +02:00
|
|
|
- common/user
|
2019-09-09 02:11:51 +02:00
|
|
|
|
2018-11-21 03:40:11 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
2018-07-25 03:08:27 +02:00
|
|
|
- name: io
|
2023-01-20 11:48:57 +02:00
|
|
|
total: 6
|
2021-07-14 20:31:57 +02:00
|
|
|
feature: IO
|
2021-09-22 16:48:21 +02:00
|
|
|
harness: pack
|
2024-10-09 09:46:45 +02:00
|
|
|
harness:
|
|
|
|
name: fd
|
|
|
|
shim:
|
|
|
|
common/io/fd:
|
|
|
|
function:
|
|
|
|
- fdReady
|
2018-07-25 03:08:27 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-01-15 17:56:51 +02:00
|
|
|
- common/io/bufferRead
|
|
|
|
- common/io/bufferWrite
|
|
|
|
- common/io/fd
|
|
|
|
- common/io/fdRead
|
|
|
|
- common/io/fdWrite
|
|
|
|
- common/io/filter/buffer
|
|
|
|
- common/io/filter/filter
|
|
|
|
- common/io/filter/group
|
|
|
|
- common/io/filter/sink
|
|
|
|
- common/io/filter/size
|
|
|
|
- common/io/io
|
2023-04-27 22:29:12 +02:00
|
|
|
- common/io/limitRead
|
2021-01-15 17:56:51 +02:00
|
|
|
- common/io/read
|
|
|
|
- common/io/write
|
2018-07-25 03:08:27 +02:00
|
|
|
|
2021-09-22 16:48:21 +02:00
|
|
|
depend:
|
|
|
|
- common/type/pack
|
|
|
|
|
2021-01-27 17:57:42 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: type-pack
|
|
|
|
total: 1
|
|
|
|
|
|
|
|
coverage:
|
|
|
|
- common/type/pack
|
|
|
|
|
2022-06-17 17:17:52 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: compress
|
|
|
|
total: 5
|
|
|
|
|
|
|
|
coverage:
|
|
|
|
- common/compress/bz2/common
|
|
|
|
- common/compress/bz2/compress
|
|
|
|
- common/compress/bz2/decompress
|
|
|
|
- common/compress/gz/common
|
|
|
|
- common/compress/gz/compress
|
|
|
|
- common/compress/gz/decompress
|
|
|
|
- common/compress/lz4/common
|
|
|
|
- common/compress/lz4/compress
|
|
|
|
- common/compress/lz4/decompress
|
|
|
|
- common/compress/zst/common
|
|
|
|
- common/compress/zst/compress
|
|
|
|
- common/compress/zst/decompress
|
|
|
|
- common/compress/helper
|
|
|
|
|
|
|
|
depend:
|
|
|
|
- storage/posix/read
|
|
|
|
- storage/posix/storage
|
|
|
|
- storage/posix/write
|
2022-07-08 23:21:39 +02:00
|
|
|
- storage/iterator
|
|
|
|
- storage/list
|
2022-06-17 17:17:52 +02:00
|
|
|
- storage/read
|
|
|
|
- storage/storage
|
|
|
|
- storage/write
|
|
|
|
|
2021-01-27 17:57:42 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: crypto
|
2023-03-09 05:02:04 +02:00
|
|
|
total: 4
|
2022-06-17 17:17:52 +02:00
|
|
|
feature: STORAGE
|
2024-08-02 10:47:30 +02:00
|
|
|
harness:
|
|
|
|
name: storage
|
|
|
|
shim:
|
|
|
|
storage/posix/storage: ~
|
2021-01-27 17:57:42 +02:00
|
|
|
|
|
|
|
coverage:
|
|
|
|
- common/crypto/cipherBlock
|
|
|
|
- common/crypto/common
|
|
|
|
- common/crypto/hash
|
2022-12-31 05:10:44 +02:00
|
|
|
- common/crypto/md5.vendor: included
|
2023-03-09 05:02:04 +02:00
|
|
|
- common/crypto/xxhash
|
2021-01-27 17:57:42 +02:00
|
|
|
|
2018-11-22 01:43:25 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: io-tls
|
2023-09-10 16:36:58 +02:00
|
|
|
total: 6
|
2021-01-27 17:57:42 +02:00
|
|
|
feature: SOCKET
|
|
|
|
harness: server
|
2023-05-13 18:16:16 +02:00
|
|
|
harness:
|
|
|
|
name: socket
|
|
|
|
shim:
|
|
|
|
common/io/socket/client:
|
|
|
|
function:
|
|
|
|
- sckClientOpen
|
2024-03-10 00:36:39 +02:00
|
|
|
- sckClientOpenWait
|
2018-11-22 01:43:25 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-01-15 17:56:51 +02:00
|
|
|
- common/io/client
|
2021-10-18 20:32:41 +02:00
|
|
|
- common/io/server
|
2021-01-15 17:56:51 +02:00
|
|
|
- common/io/session
|
|
|
|
- common/io/tls/client
|
2021-10-18 20:32:41 +02:00
|
|
|
- common/io/tls/common
|
|
|
|
- common/io/tls/server
|
2021-01-15 17:56:51 +02:00
|
|
|
- common/io/tls/session
|
2023-09-10 16:36:58 +02:00
|
|
|
- common/io/socket/address
|
2021-01-15 17:56:51 +02:00
|
|
|
- common/io/socket/client
|
|
|
|
- common/io/socket/common
|
2021-10-18 20:32:41 +02:00
|
|
|
- common/io/socket/server
|
2021-01-15 17:56:51 +02:00
|
|
|
- common/io/socket/session
|
2018-11-22 01:43:25 +02:00
|
|
|
|
2020-08-08 17:23:37 +02:00
|
|
|
include:
|
|
|
|
- common/io/fdRead
|
|
|
|
- common/io/read
|
|
|
|
|
2018-11-22 02:11:45 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: io-http
|
2024-04-27 07:42:10 +02:00
|
|
|
total: 7
|
2018-11-22 02:11:45 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-01-15 17:56:51 +02:00
|
|
|
- common/io/http/client
|
|
|
|
- common/io/http/common
|
|
|
|
- common/io/http/header
|
|
|
|
- common/io/http/query
|
|
|
|
- common/io/http/request
|
|
|
|
- common/io/http/response
|
|
|
|
- common/io/http/session
|
2021-03-01 20:44:47 +02:00
|
|
|
- common/io/http/url
|
2018-11-22 02:11:45 +02:00
|
|
|
|
2024-03-10 00:36:39 +02:00
|
|
|
include:
|
|
|
|
- common/io/socket/address
|
|
|
|
|
2021-01-27 17:57:42 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: exec
|
2024-02-24 00:22:48 +02:00
|
|
|
total: 2
|
2021-01-27 17:57:42 +02:00
|
|
|
|
|
|
|
coverage:
|
2024-02-24 00:22:48 +02:00
|
|
|
- build/common/exec
|
2021-01-27 17:57:42 +02:00
|
|
|
|
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: ini
|
2023-01-12 16:24:28 +02:00
|
|
|
total: 2
|
2021-01-27 17:57:42 +02:00
|
|
|
|
|
|
|
coverage:
|
|
|
|
- common/ini
|
|
|
|
|
2019-03-10 13:11:20 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
2022-06-17 17:17:52 +02:00
|
|
|
- name: lock
|
2024-06-18 04:43:54 +02:00
|
|
|
total: 1
|
2022-12-31 08:14:27 +02:00
|
|
|
harness:
|
2023-08-07 18:03:09 +02:00
|
|
|
name: config
|
2022-12-31 08:14:27 +02:00
|
|
|
shim:
|
2023-08-07 18:03:09 +02:00
|
|
|
config/load: ~
|
2023-03-25 09:07:31 +02:00
|
|
|
harness:
|
|
|
|
name: lock
|
|
|
|
shim:
|
|
|
|
common/lock:
|
|
|
|
function:
|
|
|
|
- lockInit
|
2024-09-17 09:51:21 +02:00
|
|
|
harness:
|
|
|
|
name: storageHelper
|
|
|
|
shim:
|
|
|
|
storage/helper:
|
|
|
|
function:
|
|
|
|
- storageRepoGet
|
2019-03-10 13:27:30 +02:00
|
|
|
|
|
|
|
coverage:
|
2022-06-17 17:17:52 +02:00
|
|
|
- common/lock
|
2018-04-08 16:19:24 +02:00
|
|
|
|
2021-01-27 17:57:42 +02:00
|
|
|
depend:
|
2024-06-18 04:43:54 +02:00
|
|
|
- command/lock
|
2021-11-03 21:23:08 +02:00
|
|
|
- config/common
|
2021-01-27 17:57:42 +02:00
|
|
|
- config/config
|
|
|
|
- config/parse
|
|
|
|
- config/exec
|
|
|
|
- config/load
|
|
|
|
- config/protocol
|
|
|
|
- command/command
|
|
|
|
- postgres/interface
|
2023-09-10 15:47:49 +02:00
|
|
|
- postgres/interface/crc32
|
2021-01-27 17:57:42 +02:00
|
|
|
- postgres/interface/page
|
|
|
|
- protocol/client
|
|
|
|
- protocol/helper
|
|
|
|
- protocol/server
|
|
|
|
- storage/helper
|
|
|
|
- storage/remote/read
|
|
|
|
- storage/remote/protocol
|
|
|
|
- storage/remote/storage
|
|
|
|
- storage/remote/write
|
2018-04-08 16:19:24 +02:00
|
|
|
|
2021-05-25 17:08:51 +02:00
|
|
|
# ********************************************************************************************************************************
|
|
|
|
- name: protocol
|
|
|
|
|
|
|
|
test:
|
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: protocol
|
2021-10-18 20:32:41 +02:00
|
|
|
total: 8
|
2021-05-25 17:08:51 +02:00
|
|
|
harness:
|
|
|
|
name: protocol
|
|
|
|
shim:
|
|
|
|
protocol/helper:
|
|
|
|
function:
|
|
|
|
- protocolLocalExec
|
2021-05-26 00:16:59 +02:00
|
|
|
- protocolRemoteExec
|
2021-05-25 17:08:51 +02:00
|
|
|
containerReq: true
|
|
|
|
binReq: true
|
|
|
|
|
|
|
|
coverage:
|
|
|
|
- protocol/client
|
|
|
|
- protocol/helper
|
|
|
|
- protocol/parallel
|
|
|
|
- protocol/parallelJob
|
|
|
|
- protocol/server
|
|
|
|
|
|
|
|
include:
|
2024-02-24 00:22:48 +02:00
|
|
|
- build/common/exec
|
2021-05-25 17:08:51 +02:00
|
|
|
|
2018-04-08 16:19:24 +02:00
|
|
|
# ********************************************************************************************************************************
|
|
|
|
- name: config
|
|
|
|
|
|
|
|
test:
|
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: parse
|
2020-12-17 16:32:31 +02:00
|
|
|
total: 6
|
2018-04-08 16:19:24 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-11-03 21:23:08 +02:00
|
|
|
- config/common
|
2021-01-15 17:56:51 +02:00
|
|
|
- config/config
|
|
|
|
- config/parse
|
|
|
|
- config/parse.auto: noCode
|
2018-04-08 16:19:24 +02:00
|
|
|
|
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: load
|
2018-10-25 15:58:25 +02:00
|
|
|
total: 4
|
2018-04-08 16:19:24 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-01-15 17:56:51 +02:00
|
|
|
- config/load
|
2018-04-08 16:19:24 +02:00
|
|
|
|
2020-03-17 00:16:27 +02:00
|
|
|
include:
|
2020-04-01 21:44:51 +02:00
|
|
|
- common/io/socket/common
|
2020-03-17 00:16:27 +02:00
|
|
|
|
2019-01-17 22:29:19 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: exec
|
|
|
|
total: 1
|
|
|
|
|
|
|
|
coverage:
|
2021-01-15 17:56:51 +02:00
|
|
|
- config/exec
|
2019-01-17 22:29:19 +02:00
|
|
|
|
2019-02-19 20:57:38 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: protocol
|
|
|
|
total: 1
|
|
|
|
|
|
|
|
coverage:
|
2021-01-15 17:56:51 +02:00
|
|
|
- config/protocol
|
2019-02-19 20:57:38 +02:00
|
|
|
|
2018-04-08 16:19:24 +02:00
|
|
|
# ********************************************************************************************************************************
|
|
|
|
- name: storage
|
|
|
|
|
|
|
|
test:
|
2021-01-27 17:57:42 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: posix
|
2024-09-17 09:51:21 +02:00
|
|
|
total: 24
|
2021-01-27 17:57:42 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-10-07 01:27:04 +02:00
|
|
|
- storage/cifs/helper
|
|
|
|
- storage/cifs/storage
|
2021-01-27 17:57:42 +02:00
|
|
|
- storage/posix/read
|
|
|
|
- storage/posix/storage
|
|
|
|
- storage/posix/write
|
|
|
|
- storage/helper
|
2022-07-08 23:21:39 +02:00
|
|
|
- storage/iterator
|
|
|
|
- storage/list
|
2021-01-27 17:57:42 +02:00
|
|
|
- storage/read
|
|
|
|
- storage/storage
|
|
|
|
- storage/write
|
|
|
|
|
2021-03-05 19:13:51 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
2021-10-07 01:27:04 +02:00
|
|
|
- name: remote
|
2024-09-17 09:51:21 +02:00
|
|
|
total: 11
|
2021-03-05 19:13:51 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-10-07 01:27:04 +02:00
|
|
|
- storage/remote/read
|
|
|
|
- storage/remote/protocol
|
|
|
|
- storage/remote/storage
|
|
|
|
- storage/remote/write
|
2021-03-05 19:13:51 +02:00
|
|
|
- storage/helper
|
2021-10-07 01:27:04 +02:00
|
|
|
- storage/storage
|
2021-03-05 19:13:51 +02:00
|
|
|
|
|
|
|
include:
|
2024-07-22 06:48:32 +02:00
|
|
|
- protocol/client
|
2021-10-07 01:27:04 +02:00
|
|
|
- storage/read
|
2021-03-05 19:13:51 +02:00
|
|
|
- storage/write
|
|
|
|
|
2020-07-02 22:24:34 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: azure
|
|
|
|
total: 3
|
|
|
|
|
|
|
|
coverage:
|
2021-10-07 01:27:04 +02:00
|
|
|
- storage/azure/helper
|
2021-01-15 17:56:51 +02:00
|
|
|
- storage/azure/read
|
|
|
|
- storage/azure/storage
|
|
|
|
- storage/azure/write
|
2020-07-02 22:24:34 +02:00
|
|
|
|
|
|
|
include:
|
2021-10-07 01:27:04 +02:00
|
|
|
- storage/helper
|
2020-07-02 22:24:34 +02:00
|
|
|
- storage/storage
|
|
|
|
- storage/write
|
|
|
|
|
2018-04-08 16:19:24 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
2021-10-07 01:27:04 +02:00
|
|
|
- name: gcs
|
|
|
|
total: 3
|
2019-03-14 11:28:33 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-10-07 01:27:04 +02:00
|
|
|
- storage/gcs/helper
|
|
|
|
- storage/gcs/read
|
|
|
|
- storage/gcs/storage
|
|
|
|
- storage/gcs/write
|
2019-07-26 02:15:06 +02:00
|
|
|
|
|
|
|
include:
|
2021-01-15 17:56:51 +02:00
|
|
|
- storage/helper
|
|
|
|
- storage/storage
|
2019-07-26 02:15:06 +02:00
|
|
|
- storage/write
|
|
|
|
|
2018-11-22 02:32:49 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: s3
|
2020-08-08 21:52:33 +02:00
|
|
|
total: 2
|
2018-11-22 02:32:49 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-10-07 01:27:04 +02:00
|
|
|
- storage/s3/helper
|
2021-01-15 17:56:51 +02:00
|
|
|
- storage/s3/read
|
|
|
|
- storage/s3/storage
|
|
|
|
- storage/s3/write
|
2023-09-14 14:22:21 +02:00
|
|
|
- storage/helper
|
2018-11-22 02:32:49 +02:00
|
|
|
|
2020-04-03 14:38:28 +02:00
|
|
|
include:
|
2021-10-07 01:27:04 +02:00
|
|
|
- storage/storage
|
2020-04-03 14:38:28 +02:00
|
|
|
- storage/write
|
|
|
|
|
2023-05-13 18:16:16 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: sftp
|
2024-10-10 10:17:35 +02:00
|
|
|
total: 20
|
2024-03-06 00:00:09 +02:00
|
|
|
harness:
|
|
|
|
name: libSsh2
|
|
|
|
integration: false
|
2023-05-13 18:16:16 +02:00
|
|
|
|
|
|
|
coverage:
|
|
|
|
- storage/sftp/helper
|
|
|
|
- storage/sftp/read
|
|
|
|
- storage/sftp/storage
|
|
|
|
- storage/sftp/write
|
|
|
|
|
|
|
|
include:
|
|
|
|
- storage/helper
|
|
|
|
- storage/read
|
|
|
|
- storage/storage
|
|
|
|
- storage/write
|
|
|
|
|
2021-11-30 20:23:11 +02:00
|
|
|
# ********************************************************************************************************************************
|
|
|
|
- name: postgres
|
|
|
|
|
|
|
|
test:
|
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: client
|
|
|
|
total: 1
|
2024-03-06 00:00:09 +02:00
|
|
|
harness:
|
|
|
|
name: pq
|
|
|
|
integration: false
|
2021-11-30 20:23:11 +02:00
|
|
|
|
|
|
|
coverage:
|
|
|
|
- postgres/client
|
|
|
|
|
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: interface
|
2022-05-04 14:22:45 +02:00
|
|
|
total: 10
|
2021-11-30 20:23:11 +02:00
|
|
|
harness: postgres
|
|
|
|
|
|
|
|
coverage:
|
|
|
|
- postgres/interface
|
2023-09-10 15:47:49 +02:00
|
|
|
- postgres/interface/crc32
|
2021-11-30 20:23:11 +02:00
|
|
|
- postgres/interface/page
|
|
|
|
|
2018-04-08 16:19:24 +02:00
|
|
|
# ********************************************************************************************************************************
|
2021-07-19 01:02:01 +02:00
|
|
|
- name: build
|
|
|
|
|
|
|
|
test:
|
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: common
|
2021-08-02 23:49:05 +02:00
|
|
|
total: 2
|
2021-07-19 01:02:01 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-08-02 23:49:05 +02:00
|
|
|
- build/common/render
|
2021-07-19 01:02:01 +02:00
|
|
|
- build/common/yaml
|
|
|
|
|
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: config
|
|
|
|
total: 1
|
|
|
|
|
|
|
|
coverage:
|
|
|
|
- build/config/parse
|
|
|
|
- build/config/render
|
|
|
|
|
2021-08-03 00:32:11 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: error
|
|
|
|
total: 1
|
|
|
|
|
|
|
|
coverage:
|
|
|
|
- build/error/parse
|
|
|
|
- build/error/render
|
|
|
|
|
2021-09-09 00:16:06 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: help
|
|
|
|
total: 2
|
|
|
|
|
|
|
|
coverage:
|
|
|
|
- build/help/parse
|
|
|
|
- build/help/render
|
|
|
|
|
2022-06-06 19:52:56 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: postgres
|
|
|
|
total: 1
|
|
|
|
|
|
|
|
coverage:
|
|
|
|
- build/postgres/parse
|
|
|
|
- build/postgres/render
|
|
|
|
|
2023-01-05 07:59:06 +02:00
|
|
|
# ********************************************************************************************************************************
|
|
|
|
- name: test
|
|
|
|
|
|
|
|
test:
|
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: test
|
2024-02-24 00:22:48 +02:00
|
|
|
total: 2
|
2023-01-05 07:59:06 +02:00
|
|
|
|
|
|
|
coverage:
|
|
|
|
- test/command/test/build
|
|
|
|
- test/command/test/define
|
|
|
|
- test/command/test/test
|
|
|
|
|
2024-05-31 06:52:07 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: coverage
|
|
|
|
total: 1
|
|
|
|
|
|
|
|
coverage:
|
|
|
|
- test/command/test/coverage
|
|
|
|
|
2021-07-19 01:02:01 +02:00
|
|
|
# ********************************************************************************************************************************
|
2018-04-08 16:19:24 +02:00
|
|
|
- name: info
|
|
|
|
|
|
|
|
test:
|
2018-08-09 14:57:21 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: info
|
2019-08-21 21:12:00 +02:00
|
|
|
total: 3
|
2021-01-27 17:57:42 +02:00
|
|
|
harness: info
|
2018-08-09 14:57:21 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-01-15 17:56:51 +02:00
|
|
|
- info/info
|
2018-08-09 14:57:21 +02:00
|
|
|
|
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: info-pg
|
2019-08-21 21:12:00 +02:00
|
|
|
total: 2
|
2018-08-09 14:57:21 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-01-15 17:56:51 +02:00
|
|
|
- info/infoPg
|
2018-08-09 14:57:21 +02:00
|
|
|
|
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: info-archive
|
2018-12-11 01:45:57 +02:00
|
|
|
total: 2
|
2018-08-09 14:57:21 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-01-15 17:56:51 +02:00
|
|
|
- info/infoArchive
|
2018-08-09 14:57:21 +02:00
|
|
|
|
2018-09-07 17:03:05 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
2021-01-27 17:57:42 +02:00
|
|
|
- name: manifest
|
|
|
|
total: 6
|
2023-01-21 09:03:27 +02:00
|
|
|
harness:
|
|
|
|
name: manifest
|
|
|
|
shim:
|
|
|
|
info/manifest: ~
|
2018-09-07 17:03:05 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-01-27 17:57:42 +02:00
|
|
|
- info/manifest
|
|
|
|
|
|
|
|
depend:
|
|
|
|
- command/backup/common
|
2018-09-07 17:03:05 +02:00
|
|
|
|
2019-09-23 19:50:46 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
2021-01-27 17:57:42 +02:00
|
|
|
- name: info-backup
|
|
|
|
total: 3
|
2019-09-23 19:50:46 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-01-27 17:57:42 +02:00
|
|
|
- info/infoBackup
|
2019-09-23 19:50:46 +02:00
|
|
|
|
2019-08-01 21:38:27 +02:00
|
|
|
# ********************************************************************************************************************************
|
|
|
|
- name: db
|
|
|
|
|
|
|
|
test:
|
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: db
|
2019-12-08 01:44:06 +02:00
|
|
|
total: 3
|
2019-10-08 18:06:30 +02:00
|
|
|
containerReq: true
|
2019-12-14 00:55:41 +02:00
|
|
|
binReq: true
|
2019-08-01 21:38:27 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-01-15 17:56:51 +02:00
|
|
|
- db/db
|
|
|
|
- db/helper
|
|
|
|
- db/protocol
|
2019-08-01 21:38:27 +02:00
|
|
|
|
2018-04-08 16:19:24 +02:00
|
|
|
# ********************************************************************************************************************************
|
2019-02-23 18:51:52 +02:00
|
|
|
- name: command
|
2018-04-08 16:19:24 +02:00
|
|
|
|
|
|
|
test:
|
2024-06-18 04:43:54 +02:00
|
|
|
|
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: lock
|
|
|
|
total: 1
|
|
|
|
|
|
|
|
coverage:
|
|
|
|
- command/lock
|
|
|
|
|
2021-01-27 17:57:42 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: control
|
2022-03-08 20:18:23 +02:00
|
|
|
total: 4
|
2021-01-27 17:57:42 +02:00
|
|
|
|
|
|
|
coverage:
|
|
|
|
- command/control/common
|
|
|
|
- command/control/start
|
|
|
|
- command/control/stop
|
|
|
|
|
2024-06-18 04:43:54 +02:00
|
|
|
include:
|
|
|
|
- command/lock
|
|
|
|
|
2022-08-24 16:52:33 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: annotate
|
|
|
|
total: 1
|
|
|
|
|
|
|
|
coverage:
|
|
|
|
- command/annotate/annotate
|
|
|
|
|
2018-04-29 16:16:59 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
2019-02-23 18:51:52 +02:00
|
|
|
- name: archive-common
|
2020-09-08 18:28:56 +02:00
|
|
|
total: 9
|
2018-04-29 16:16:59 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-01-15 17:56:51 +02:00
|
|
|
- command/archive/common
|
2023-09-10 18:45:58 +02:00
|
|
|
- command/archive/find
|
2018-04-29 16:16:59 +02:00
|
|
|
|
2018-04-08 16:19:24 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
2019-02-23 18:51:52 +02:00
|
|
|
- name: archive-get
|
2021-01-15 17:15:52 +02:00
|
|
|
total: 3
|
2019-12-14 00:55:41 +02:00
|
|
|
binReq: true
|
2018-04-30 23:27:39 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-01-15 17:56:51 +02:00
|
|
|
- command/archive/common
|
|
|
|
- command/archive/get/file
|
|
|
|
- command/archive/get/get
|
|
|
|
- command/archive/get/protocol
|
2018-10-02 18:54:43 +02:00
|
|
|
|
2019-02-23 18:51:52 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: archive-push
|
2019-03-29 15:26:33 +02:00
|
|
|
total: 4
|
2019-12-14 00:55:41 +02:00
|
|
|
binReq: true
|
2019-02-23 18:51:52 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-01-15 17:56:51 +02:00
|
|
|
- command/archive/common
|
|
|
|
- command/archive/push/file
|
|
|
|
- command/archive/push/protocol
|
|
|
|
- command/archive/push/push
|
2019-02-23 18:51:52 +02:00
|
|
|
|
2019-04-15 14:29:25 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
2021-01-27 17:57:42 +02:00
|
|
|
- name: stanza
|
|
|
|
total: 4
|
2019-07-25 20:34:16 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-01-27 17:57:42 +02:00
|
|
|
- command/stanza/common
|
|
|
|
- command/stanza/create
|
|
|
|
- command/stanza/upgrade
|
|
|
|
- command/stanza/delete
|
2019-07-26 02:15:06 +02:00
|
|
|
|
2021-01-27 17:57:42 +02:00
|
|
|
depend:
|
|
|
|
- command/check/common
|
2019-07-25 20:34:16 +02:00
|
|
|
|
2019-08-02 02:35:01 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: check
|
2023-09-15 15:30:40 +02:00
|
|
|
total: 4
|
2019-08-02 02:35:01 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-01-15 17:56:51 +02:00
|
|
|
- command/check/common
|
|
|
|
- command/check/check
|
2023-09-15 15:30:40 +02:00
|
|
|
- command/check/report
|
2019-08-02 02:35:01 +02:00
|
|
|
|
2019-02-23 18:51:52 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: command
|
|
|
|
total: 1
|
|
|
|
|
|
|
|
coverage:
|
2021-01-15 17:56:51 +02:00
|
|
|
- command/command
|
2019-02-23 18:51:52 +02:00
|
|
|
|
2019-06-18 21:19:20 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: expire
|
2020-09-08 18:28:56 +02:00
|
|
|
total: 8
|
2019-06-18 21:19:20 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-01-15 17:56:51 +02:00
|
|
|
- command/expire/expire
|
2019-06-18 21:19:20 +02:00
|
|
|
|
2020-03-23 20:31:04 +02:00
|
|
|
include:
|
|
|
|
- info/infoBackup
|
|
|
|
|
2019-03-10 11:55:01 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: help
|
2021-11-03 21:23:08 +02:00
|
|
|
total: 4
|
2019-03-10 11:55:01 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-01-15 17:56:51 +02:00
|
|
|
- command/help/help
|
|
|
|
- command/help/help.auto: noCode
|
2019-03-10 11:55:01 +02:00
|
|
|
|
2021-09-09 00:16:06 +02:00
|
|
|
include:
|
|
|
|
- build/help/render
|
|
|
|
|
2019-02-23 18:51:52 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: info
|
|
|
|
total: 3
|
|
|
|
|
|
|
|
coverage:
|
2021-01-15 17:56:51 +02:00
|
|
|
- command/info/info
|
2019-02-23 18:51:52 +02:00
|
|
|
|
2024-06-18 04:43:54 +02:00
|
|
|
include:
|
|
|
|
- command/lock
|
|
|
|
|
2021-01-27 17:57:42 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: backup
|
2023-11-24 22:07:49 +02:00
|
|
|
total: 12
|
2023-11-24 17:25:40 +02:00
|
|
|
harness:
|
|
|
|
name: backup
|
2024-03-06 00:00:09 +02:00
|
|
|
integration: false
|
2023-11-24 17:25:40 +02:00
|
|
|
shim:
|
|
|
|
command/backup/backup:
|
|
|
|
function:
|
|
|
|
- backupProcess
|
2023-12-27 02:07:56 +02:00
|
|
|
harness:
|
|
|
|
name: blockIncr
|
|
|
|
shim:
|
|
|
|
command/restore/blockDelta: ~
|
2021-01-27 17:57:42 +02:00
|
|
|
|
|
|
|
coverage:
|
|
|
|
- command/backup/backup
|
2023-01-20 11:48:57 +02:00
|
|
|
- command/backup/blockIncr
|
|
|
|
- command/backup/blockMap
|
2021-01-27 17:57:42 +02:00
|
|
|
- command/backup/common
|
|
|
|
- command/backup/file
|
2022-02-19 01:50:05 +02:00
|
|
|
- command/backup/pageChecksum
|
2021-01-27 17:57:42 +02:00
|
|
|
- command/backup/protocol
|
2023-03-09 04:39:54 +02:00
|
|
|
- command/restore/blockDelta
|
2021-01-27 17:57:42 +02:00
|
|
|
|
|
|
|
include:
|
|
|
|
- info/info
|
|
|
|
- info/manifest
|
|
|
|
- storage/storage
|
2019-08-21 22:26:28 +02:00
|
|
|
|
2022-10-14 01:08:40 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: restore
|
2024-08-17 07:58:55 +02:00
|
|
|
total: 14
|
2022-10-14 01:08:40 +02:00
|
|
|
|
|
|
|
coverage:
|
2023-03-09 06:04:03 +02:00
|
|
|
- command/restore/blockChecksum
|
2023-03-09 04:39:54 +02:00
|
|
|
- command/restore/blockDelta
|
2022-10-14 01:08:40 +02:00
|
|
|
- command/restore/file
|
|
|
|
- command/restore/protocol
|
|
|
|
- command/restore/restore
|
|
|
|
|
|
|
|
include:
|
|
|
|
- common/user
|
|
|
|
- info/infoBackup
|
|
|
|
- info/manifest
|
|
|
|
|
2023-03-14 16:56:05 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: manifest
|
|
|
|
total: 1
|
|
|
|
|
|
|
|
include:
|
|
|
|
- command/manifest/manifest
|
|
|
|
|
2019-05-28 16:03:48 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
2020-03-09 22:41:04 +02:00
|
|
|
- name: repo
|
2024-07-22 09:17:47 +02:00
|
|
|
total: 3
|
2019-05-28 16:03:48 +02:00
|
|
|
|
|
|
|
coverage:
|
2022-03-22 15:50:26 +02:00
|
|
|
- command/repo/common
|
2021-01-15 17:56:51 +02:00
|
|
|
- command/repo/get
|
|
|
|
- command/repo/ls
|
|
|
|
- command/repo/put
|
|
|
|
- command/repo/rm
|
2020-03-09 23:15:03 +02:00
|
|
|
|
2020-09-22 17:57:38 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: verify
|
2022-05-06 17:11:36 +02:00
|
|
|
total: 12
|
2020-09-22 17:57:38 +02:00
|
|
|
|
|
|
|
coverage:
|
2021-01-15 17:56:51 +02:00
|
|
|
- command/verify/file
|
|
|
|
- command/verify/protocol
|
|
|
|
- command/verify/verify
|
2020-09-22 17:57:38 +02:00
|
|
|
|
2021-01-27 17:57:42 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: local
|
|
|
|
total: 1
|
|
|
|
|
|
|
|
coverage:
|
|
|
|
- command/local/local
|
|
|
|
|
2022-10-18 05:11:35 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: remote
|
|
|
|
total: 1
|
|
|
|
|
|
|
|
coverage:
|
|
|
|
- command/remote/remote
|
|
|
|
|
2022-06-17 17:17:52 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: exit
|
|
|
|
total: 3
|
|
|
|
|
|
|
|
coverage:
|
|
|
|
- command/exit
|
|
|
|
|
2021-10-18 20:32:41 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: server
|
|
|
|
total: 2
|
|
|
|
|
|
|
|
coverage:
|
|
|
|
- command/server/ping
|
|
|
|
- command/server/server
|
|
|
|
|
2023-10-09 20:03:43 +02:00
|
|
|
# ********************************************************************************************************************************
|
|
|
|
- name: doc
|
|
|
|
|
|
|
|
test:
|
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: build
|
|
|
|
total: 1
|
|
|
|
|
|
|
|
coverage:
|
|
|
|
- doc/command/build/build
|
2024-01-23 14:56:26 +02:00
|
|
|
- doc/command/build/man
|
2023-10-09 20:03:43 +02:00
|
|
|
- doc/command/build/reference
|
|
|
|
|
2018-04-24 15:12:25 +02:00
|
|
|
# **********************************************************************************************************************************
|
|
|
|
# Integration tests
|
|
|
|
#
|
|
|
|
# Integration tests are not run in a container. They are expected to create their own containers since most integration runs will
|
|
|
|
# create more than one. For this reason each run is executed individually.
|
|
|
|
# **********************************************************************************************************************************
|
|
|
|
integration:
|
|
|
|
|
2018-04-08 16:19:24 +02:00
|
|
|
# ********************************************************************************************************************************
|
2024-03-06 00:00:09 +02:00
|
|
|
- name: integration
|
2018-04-08 18:57:02 +02:00
|
|
|
db: true
|
2018-04-08 16:19:24 +02:00
|
|
|
|
|
|
|
test:
|
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: all
|
Simplify test matrix for real/all tests.
Test matrices were previously simplified for the mock/* tests (e.g. d4410611, d489eb87) but not for real/all since the rules for which tests would run with which options was extremely complex. This only got more complex when new compression formats were added.
Because the loop-generated matrix was so large, mosts tests were skipped for most option combinations following arcane logic which was nearly impossible to decipher even when reading the code, and completely impossible from the test.pl interface. As a consequence, important tests got excluded. For example, backup from standby was excluded for most versions of PostgreSQL because it was only run once per distro, against the latest version to be included in that distro.
Simplify the tests by having a single run per PostgreSQL version and vary test parameters according to the capabilities of each version and the underlying distro. So, ZST testing is based on whether the distro supports ZST. Every test is run for each set of parameters based on the capabilities of the PostgreSQL version, e.g. backup from standby is not attempted on versions that don't support it.
Note that since more tests are running the overall time to run the mock/all tests has increased by about 20-25%. Some time may be saved my removing tests that are adequately covered by unit tests but that should the subject of another commit. Another option would be to limit some non version-specific tests to a single, well defined version of PostgreSQL, .e.g the version that is run by expect tests, currently 9.6.
The motivation for this refactor is that new storage drivers are coming and the loop-generated test matrix simply was not up to the task of adding them.
The following is an example of the new test log (note longer runtime of each test):
module=real, test=all, run=1, pg-version=10 (106.91s)
module=real, test=all, run=1, pg-version=9.5 (151.09s)
module=real, test=all, run=1, pg-version=9.2 (123.11s)
module=real, test=all, run=1, pg-version=9.1 (129s)
vs. the old test log (sub-second tests were skipped entirely):
module=real, test=all, run=2, pg-version=10 (0.31s)
module=real, test=all, run=3, pg-version=10 (0.26s)
module=real, test=all, run=4, pg-version=10 (60.39s)
module=real, test=all, run=1, pg-version=10 (69.12s)
module=real, test=all, run=6, pg-version=10 (34s)
module=real, test=all, run=5, pg-version=10 (42.75s)
module=real, test=all, run=2, pg-version=9.5 (0.21s)
module=real, test=all, run=3, pg-version=9.5 (0.21s)
module=real, test=all, run=4, pg-version=9.5 (0.21s)
module=real, test=all, run=5, pg-version=9.5 (0.26s)
module=real, test=all, run=6, pg-version=9.5 (0.21s)
module=real, test=all, run=1, pg-version=9.2 (72.78s)
module=real, test=all, run=2, pg-version=9.2 (0.26s)
module=real, test=all, run=3, pg-version=9.2 (0.31s)
module=real, test=all, run=4, pg-version=9.2 (0.21s)
module=real, test=all, run=5, pg-version=9.2 (0.21s)
module=real, test=all, run=6, pg-version=9.2 (0.21s)
module=real, test=all, run=1, pg-version=9.5 (88.41s)
module=real, test=all, run=2, pg-version=9.1 (0.21s)
module=real, test=all, run=3, pg-version=9.1 (0.26s)
module=real, test=all, run=4, pg-version=9.1 (0.21s)
module=real, test=all, run=5, pg-version=9.1 (0.31s)
module=real, test=all, run=6, pg-version=9.1 (0.26s)
module=real, test=all, run=1, pg-version=9.1 (72.4s)
2020-06-23 19:44:29 +02:00
|
|
|
total: 1
|
2024-03-06 00:00:09 +02:00
|
|
|
harness: host
|
2018-04-08 16:19:24 +02:00
|
|
|
|
2018-04-24 15:12:25 +02:00
|
|
|
# **********************************************************************************************************************************
|
|
|
|
# Performance tests
|
|
|
|
#
|
|
|
|
# Performance tests run in a single container but are more like integration tests than unit tests since they call the pgbackrest
|
|
|
|
# executable directly.
|
|
|
|
# **********************************************************************************************************************************
|
|
|
|
performance:
|
|
|
|
|
2018-04-08 16:19:24 +02:00
|
|
|
# ********************************************************************************************************************************
|
|
|
|
- name: performance
|
|
|
|
|
|
|
|
test:
|
2019-09-28 20:24:27 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: type
|
2021-12-14 21:53:41 +02:00
|
|
|
total: 6
|
2020-03-27 03:05:36 +02:00
|
|
|
|
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------
|
|
|
|
- name: storage
|
2020-03-30 03:25:48 +02:00
|
|
|
total: 2
|
2020-03-27 03:05:36 +02:00
|
|
|
|
|
|
|
include:
|
|
|
|
- storage/helper
|