|
8 | 8 | # done on purpose to allow multiple test variants to share the same base docker compose |
9 | 9 | # environment, while still having unique test YAML files. |
10 | 10 | # |
11 | | -# Examples: |
12 | 11 | # make test-5hs-autoaccept |
13 | 12 | # -> TEST_FILENAME = test-5hs-autoaccept.yml |
14 | 13 | # -> ENV_COMPOSE_PATH = environments/docker-compose/env-5hs-autoaccept.yml |
|
21 | 20 | # -> TEST_FILENAME = test-2p-2p-4hs-sql-mycustomvariantstring.yml |
22 | 21 | # -> ENV_COMPOSE_PATH = environments/docker-compose/env-2p-2p-4hs-sql.yml |
23 | 22 | # |
24 | | -# Compose env selection rule: |
25 | | -# - Start with the full test target name (TEST_NAME). |
26 | | -# - Convert "test-..." to "environments/docker-compose/env-....yml". |
27 | | -# - If that env file does not exist, strip the last "-suffix" segment and try again, |
28 | | -# repeating until a matching env file is found. |
| 23 | +# Jinja2 Template Pre-Processing: |
| 24 | +# |
| 25 | +# Prior to running a test, .j2 files are processed using the config_builder.py script |
| 26 | +# of the test-framework. |
| 27 | +# |
29 | 28 |
|
30 | 29 | # Find ENV compose file by stripping trailing "-suffix" chunks until a match exists. |
31 | 30 | # Returns: environments/docker-compose/env-<base-without-test->.yml |
@@ -145,9 +144,3 @@ all: $(TEST_NAMES) |
145 | 144 | # Ensure the target directory exists |
146 | 145 | $(MULTI_SERVER_BUILD_DIR_REL_PATH): |
147 | 146 | @mkdir -p "$@" |
148 | | - |
149 | | -# Create .venv if it doesn't exist (in the build directory) |
150 | | -$(VENV_DIR): | $(MULTI_SERVER_BUILD_DIR_REL_PATH) |
151 | | - python3 -m venv "$(VENV_DIR)" |
152 | | - |
153 | | -venv: $(VENV_DIR) |
0 commit comments