-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbtest.cfg
35 lines (32 loc) · 1.3 KB
/
btest.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[btest]
TestDirs = tests
TmpDir = %(testbase)s/.tmp
BaselineDir = %(testbase)s/Baseline
IgnoreDirs = .svn .tmp
IgnoreFiles = *.tmp *.swp #* *.trace .gitignore *.skeleton
Initializer = %(testbase)s/Scripts/docker-compose-initializer
Teardown = %(testbase)s/Scripts/docker-compose-teardown
MinVersion = 0.71
[environment]
TZ=UTC
LC_ALL=C
PATH=%(testbase)s/../../../build/src:%(testbase)s/../../../auxil/btest:%(testbase)s/../../scripts:%(default_path)s
FILES=%(testbase)s/Files
SCRIPTS=%(testbase)s/Scripts
DOCKER=%(testbase)s/Docker
UBSAN_OPTIONS=print_stacktrace=1
# Preserve use of '_' separator for docker-compose v2. By default v2 is using
# '-' as a separator, to be more hostname-friendly. The test scripts use
# "${testname}_" for the project, assuming '__' as resulting separator between
# the test name and its containers. When docker-compose v2+ has become
# widespread we can revisit this.
# https://stackoverflow.com/a/69519102
# https://docs.docker.com/compose/cli-command-compatibility/
COMPOSE_COMPATIBILITY=true
TEST_TRACE_COMMANDS=1
[environment-debug]
# After test completion, keep all containers running regardless of test outcome.
TEST_SKIP_DOCKER_TEARDOWN=1
[environment-debug-failures]
# After test completion, keep containers of failing tests running.
TEST_SKIP_DOCKER_TEARDOWN_ON_FAILURE=1