... | @@ -77,23 +77,26 @@ stat "rms_s" last 1E-15 #this is a comment |
... | @@ -77,23 +77,26 @@ stat "rms_s" last 1E-15 #this is a comment |
|
They start with a description of the regression test that will be
|
|
They start with a description of the regression test that will be
|
|
displayed on the web-page results. The rest of the file specifies what
|
|
displayed on the web-page results. The rest of the file specifies what
|
|
will be compared against the reference data (one line per test). In
|
|
will be compared against the reference data (one line per test). In
|
|
the above example we test the variable "rms_x" from the `stat` file by
|
|
the above example we test the variable `rms_x` from the `stat` file by
|
|
using the `last` value found in the file with a precision of
|
|
using the `last` value found in the file with a precision of
|
|
`1E-15`. Everything after a `#` sign will be treated as comment and
|
|
`1E-15`. Everything after a `#` sign will be treated as comment and
|
|
therefore will be ignored.
|
|
therefore will be ignored.
|
|
|
|
|
|
Choices for files are: `lbal`, `out`, `stat` <br/>
|
|
Choices for files are: `lbal`, `out`, `stat`
|
|
Choices for variables are defined in the files <br/>
|
|
|
|
|
|
Choices for variables are defined in the files
|
|
|
|
|
|
Choices for data points to compare are: `last`, `avg`
|
|
Choices for data points to compare are: `last`, `avg`
|
|
|
|
|
|
In case of data from the '''PROBE''' element, you can compare "x",
|
|
In case of data from the `PROBE` element, you can compare `x`,
|
|
"y", "z", "px", "py", "pz", "track_id", "turn" and "time".
|
|
`y`, `z`, `px`, `py`, `pz`, `track_id`, `turn` and `time`.
|
|
|
|
|
|
* quantity: string that defines how the variable should be handled. Options are "all" (other options not implemented) "all" test fails if any particles in any plane in the loss file have variable variable_(ref) > tolerance
|
|
* quantity: string that defines how the variable should be handled. Options are `all` (other options not implemented) `all` test fails if any particles in any plane in the loss file have variable variable_(ref) > tolerance
|
|
* tolerance: floating point tolerance (absolute)
|
|
* tolerance: floating point tolerance (absolute)
|
|
* file_name: name of the loss file to be checked
|
|
* file_name: name of the loss file to be checked
|
|
|
|
|
|
Note that
|
|
Note that
|
|
|
|
|
|
* Output in the loss file is assumed to be that of a PROBE element.
|
|
* Output in the loss file is assumed to be that of a PROBE element.
|
|
* If a line of output is not compatible with PROBE output, test will ignore the line (not fail).
|
|
* If a line of output is not compatible with PROBE output, test will ignore the line (not fail).
|
|
* Test will always fail if no valid data was found in the loss file
|
|
* Test will always fail if no valid data was found in the loss file
|
... | | ... | |