From 3dcde5d0de2acec81bbc662d5b0dd0d72748b606 Mon Sep 17 00:00:00 2001 From: Stefan Marr Date: Sun, 19 Jan 2025 14:33:50 +0000 Subject: [PATCH] Edit documentation of config to reflect #269 Signed-off-by: Stefan Marr --- docs/config.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/config.md b/docs/config.md index 83d1132f..d67a7568 100644 --- a/docs/config.md +++ b/docs/config.md @@ -580,14 +580,14 @@ A list of commands/strings to be executed by the system's shell. They are intended to set up the system for benchmarking, typically to build binaries, compiled archives, etc. -Each command is executed once before any benchmark that depends on it -is executed. If the `location` of the suite is set, it is used as +The list of command is combined into a single shell script, which +is executed once before any benchmark that depends on it +runs. If the `location` of the suite is set, it is used as working directory. Otherwise, it is the current working directory of ReBench. -`build:` is a list of commands to allow multiple suites and executors to depend on the -same build command without executing it multiple times. -For this purpose, build commands are considered the same when they have the -same command and location (based on simple string comparisons). +When multiple suites and executors depend on lists of commands, +where the combined script is identical, and to be executed in the same location, +the script is executed only once. Commands are executed with an environment managed by ReBench. The environment starts empty, but can be added to using the [`env`](#env) directive.