forked from OCamlPro/superbol-studio-oss
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.autofonce
56 lines (46 loc) · 1.55 KB
/
.autofonce
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[project]
# name to use to infer config
name = "superbol-studio-oss"
# files used to locate the project top directory
# and to set the AUTOFONCE_SOURCE_DIR
source_anchors = [ "import/gnucobol/tests/testsuite.at", "!" ]
# files used to locate the project build directory
# where the _autofonce/ directory will be created
# and to set the AUTOFONCE_BUILD_DIR
# use "!" to trigger an error if build dir is mandatory
build_anchors = [ "default" ]
# paths in project sources that are good candidates to
# be tested as build dirs. Useful to run autofonce
# from outside the build directory
build_dir_candidates = [ "_build" ]
# where the _autofonce/ dir should be created:
# * 'build': in the build directory
# * 'source': in the source directory
# * 'config': in the directory of the config file
run_from = "build"
[testsuites]
# alias = "path-from-topdir"
[testsuites.testsuite]
file = "import/gnucobol/tests/testsuite.at"
path = [ "import/gnucobol/tests/testsuite.src"]
env = "testsuite"
[testsuites]
# alias = "path-from-topdir"
[testsuites.syntax]
file = "test/syntax-todo/syntax.at"
path = [ "test/syntax-todo"]
env = "syntax"
[envs]
# env_name = """..."""
# env_name = "<local-path-to-env-file"
testsuite = """
export COB_CONFIG_DIR="$AUTOFONCE_SOURCE_DIR/import/gnucobol/config"
"""
syntax = """
export COB_CONFIG_DIR="$AUTOFONCE_SOURCE_DIR/import/gnucobol/config"
export SUPERBOL="$AUTOFONCE_SOURCE_DIR/_build/default/src/lsp/superbol-free/main.exe"
"""
[project]
# files to be captured into results.log
# in case of test failure.
captured_files = [ ]