|
|
|
@ -77,13 +77,53 @@ runs
|
|
|
|
|
// will fail if relative or absolute differences are above 0. |
|
|
|
|
short { |
|
|
|
|
// ********** Maybe future improvements ********** |
|
|
|
|
execute previousFails; // previousFails, previousPass, always |
|
|
|
|
// Workspace reuse: If "restart" and there is a rundir, it will be |
|
|
|
|
// deleted and a new one build; if "reuse" and there is a rundir, |
|
|
|
|
// nothing will be changed (if it doesn't, it will be created anyway). |
|
|
|
|
workspace reuse; // restart (default), reuse |
|
|
|
|
|
|
|
|
|
// Changes to be done before running the case. This is not applied in |
|
|
|
|
// case the workspace is being reused (in other words, this is done |
|
|
|
|
// only on "restart"). |
|
|
|
|
changes { |
|
|
|
|
"foamFile" { |
|
|
|
|
"system/controlDict/timestep" 0.2; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Post executions: This is actually the old "comparer", but now using |
|
|
|
|
// something different |
|
|
|
|
post { |
|
|
|
|
( |
|
|
|
|
compare "postProcessing/10/foo" "reference/10/foo"; |
|
|
|
|
validate "phi"; |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
( |
|
|
|
|
md5 "postProcessing/" |
|
|
|
|
) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Execution: defines executions. Requires another run name and its |
|
|
|
|
// expected result. "quick fails" means "execute this run if 'quick' |
|
|
|
|
// fails". It could be "execute quick pass", in which this step will |
|
|
|
|
// only be run if the "quick" step passes. |
|
|
|
|
// Without this entry, the run becomes a top-level and it is always |
|
|
|
|
// run. |
|
|
|
|
execute quick fails; |
|
|
|
|
|
|
|
|
|
// --- OR --- |
|
|
|
|
on_fail ( |
|
|
|
|
run { |
|
|
|
|
// run info |
|
|
|
|
} |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
on_success ( |
|
|
|
|
run_name { |
|
|
|
|
// run info |
|
|
|
|
} |
|
|
|
|
) |
|
|
|
|
// *********************************************** |
|
|
|
|
steps 10; |
|
|
|
|
// This makes the continuations explicit, by specificing files that |
|
|
|
@ -411,4 +451,12 @@ Dictionary({
|
|
|
|
|
] |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
``` |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
# "Canonical" Paths |
|
|
|
|
We have an issue with the "run again", as if you run in a directory, it will show, in the report, the example name again -- which is not what we need. |
|
|
|
|
|
|
|
|
|
If "helyxVerify run ." is in an example, the report should show "." again. |
|
|
|
|
If "helyxVerify run" is not an example, the report should show the paths of the failed cases. |
|
|
|
|
|
|
|
|
|
Report needs to get the example path, and "run again" should use a HashSet. |