|
31 | 31 | // file. Individual tests can define their own test-specific files
|
32 | 32 | // with their own 'creates' block, discussed later in this file.
|
33 | 33 | //
|
34 |
| - // pin: This property can be used to over-ride the automatically |
35 |
| - // generated data input path (which is typically the repository's |
36 |
| - // own data directory. This allows you to use date outside the |
37 |
| - // repository - maybe because it's a large file or an experimental |
38 |
| - // file. |
39 |
| - // |
40 | 34 | // There can only be one setup_collection section and it must be
|
41 | 35 | // the first section in the file.
|
42 | 36 |
|
43 | 37 | setup_collection = [
|
44 | 38 | timeout: 10,
|
45 |
| - creates: [ 'output.txt' ], |
46 |
| - pin: /Users/alan/data |
| 39 | + creates: [ 'output.txt' ] |
47 | 40 | ],
|
48 | 41 |
|
49 | 42 | // Individual tests.
|
|
68 | 61 | // If a test is not working an you want to keep it and avoid running it
|
69 | 62 | // then simply prefix the test section name with `ignore_`.
|
70 | 63 | //
|
71 |
| - // The location of any input data you provide in your test |
| 64 | + // The location of any input data you provide in your test is normally |
| 65 | + // located in the project's `data` directory or mounted as `/data` |
| 66 | + // when running in a container. You can safely refer to data in both cases |
| 67 | + // with the PIN environment variable created by the PipelineTester. |
| 68 | + // To allow execution from the command-line and in a container the input |
| 69 | + // data file `blob.dat` should be referred to using `${PIN}blob.dat` |
72 | 70 |
|
73 | 71 | test_1 = [
|
74 | 72 |
|
|
80 | 78 | // If you provide a command you **cannot** provide parameters
|
81 | 79 | // (see the params section below).
|
82 | 80 |
|
83 |
| - command: ```python my_own_command |
| 81 | + command: ```python my_own_command -i ${PIN}blob.dat |
84 | 82 | --my-own-param-1 32
|
85 | 83 | --my-own-param-2 18.5```,
|
86 | 84 |
|
|
0 commit comments