From b63bf71a12b42777a9204651ed782c76d0f959b2 Mon Sep 17 00:00:00 2001 From: Fabrice Le Fessant Date: Wed, 8 Feb 2023 23:46:25 +0100 Subject: [PATCH] Add autofonce configuration --- .autofonce | 35 +++++++++++++++++++++++++++++++++++ tests/autofonce.env.sh | 19 +++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 .autofonce create mode 100644 tests/autofonce.env.sh diff --git a/.autofonce b/.autofonce new file mode 100644 index 000000000..61670563c --- /dev/null +++ b/.autofonce @@ -0,0 +1,35 @@ +[project] +# name to use to infer config +name = "gnucobol" + +# files used to locate the project top directory +# and to set the AUTOFONCE_SOURCE_DIR +source_anchors = [ "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 = [ "cobc/cobc", "!" ] + +# 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" ] + +[testsuites] +# alias = "path-from-topdir" +[testsuites.testsuite] +file = "tests/testsuite.at" +path = [ "tests/testsuite.src"] +env = "testsuite" +[testsuites.nist] +file = "tests/cobol85/nist.at" +path = [ "tests/cobol85/nistrun.src"] +env = "testsuite" + +[envs] +# env_name = """...""" +# env_name = "