From 5b01d9a3eed571a1d9212bd34d4c778ca0848c1d Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Wed, 14 Aug 2024 10:30:10 -0300 Subject: [PATCH] vault backup: 2024-08-14 10:30:10 --- .obsidian/workspace.json | 25 ++++++------------ Kanban Pages/HelyxVerify.md | 52 +++++++++++++++++++++++++++++++++++-- 2 files changed, 58 insertions(+), 19 deletions(-) diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index b0553c9..c5529ec 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -11,20 +11,11 @@ "id": "9a8e380f4bb12965", "type": "leaf", "state": { - "type": "kanban", + "type": "markdown", "state": { - "file": "Kanban Pages/Work Kanban.md", - "kanbanViewState": { - "kanban-plugin": "board", - "list-collapse": [ - false, - false, - false, - false, - true, - true - ] - } + "file": "Kanban Pages/HelyxVerify.md", + "mode": "source", + "source": false } } } @@ -94,7 +85,7 @@ "state": { "type": "backlink", "state": { - "file": "Kanban Pages/Work Kanban.md", + "file": "Kanban Pages/HelyxVerify.md", "collapseAll": true, "extraContext": false, "sortOrder": "alphabetical", @@ -111,7 +102,7 @@ "state": { "type": "outgoing-link", "state": { - "file": "Kanban Pages/Work Kanban.md", + "file": "Kanban Pages/HelyxVerify.md", "linksCollapsed": false, "unlinkedCollapsed": true } @@ -134,7 +125,7 @@ "state": { "type": "outline", "state": { - "file": "Kanban Pages/Work Kanban.md" + "file": "Kanban Pages/HelyxVerify.md" } } } @@ -158,13 +149,13 @@ }, "active": "9a8e380f4bb12965", "lastOpenFiles": [ + "Kanban Pages/Work Kanban.md", "On Absolute And Relative.md", "BuildingTesting Pipeline.md", "Worklogs/2023-07-31.md", "Worklogs/2024-07-29.md", "Untitled.canvas", "Calendar/2024-07-29 DevOps Meeting.md", - "Kanban Pages/Work Kanban.md", "2024-07-29.md", "Kanban Pages/HelyxVerify.md", "Calendar/2024-07-26 GUI testing.md", diff --git a/Kanban Pages/HelyxVerify.md b/Kanban Pages/HelyxVerify.md index a8db6ad..d025b5d 100644 --- a/Kanban Pages/HelyxVerify.md +++ b/Kanban Pages/HelyxVerify.md @@ -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({ ] }) -``` \ No newline at end of file +``` + +# "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. \ No newline at end of file