File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
2+ #
3+ # Runs the examples listed in the READMEs from `examples/*/README.md`.
4+ #
5+ # Requires additional runtime dependencies as listed in those READMEs.
6+ #
7+ # The code snippets and comments are parsed by `parse-md.sh` and can
8+ # essentially be split into two sections:
9+ # 1: binary aquisition
10+ # 2: test execution
11+ #
12+ # (1) is controlled by the `SOURCE_MODE` parameter in the READMEs and
13+ # is set by the second flag passed to this script ($2).
14+ #
15+ # Note: although the README scripts check for the binaries existance
16+ # before re-downloading (SOURCE_MODE != 1), this script deletes
17+ # the binaries before each run.
18+ #
19+ # Has two parameters:
20+ # $1 = test name filter
21+ # $2 = source mode flag
22+ # 1: build binaries from source
23+ # *: download binaries as releases
24+
225
326function clear_environment() {
427 clear_logs
You can’t perform that action at this time.
0 commit comments