aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/tests_for_document_abstraction_shell_scripts.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2026-09-09 16:50:25 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2026-09-10 10:02:23 -0400
commite81fe1d362e430e81fd474569eb7b403db5f66d6 (patch)
tree387a8490251bd7b369b972d7314fa3dc9c2a05ee /org/tests_for_document_abstraction_shell_scripts.org
parentparallelise: show_abstraction & ocda_db as the rest (diff)
--serial default behaviour (--parallel an option)
serial processing, it turns out, is significantly faster and more efficient for tested use-cases, which came as a surprise. As the parallelization option buys nothing, serial processing is set as default. Parallel processing remains as an option (where available, as before). (assisted by Claude-Code)
Diffstat (limited to 'org/tests_for_document_abstraction_shell_scripts.org')
-rw-r--r--org/tests_for_document_abstraction_shell_scripts.org9
1 files changed, 5 insertions, 4 deletions
diff --git a/org/tests_for_document_abstraction_shell_scripts.org b/org/tests_for_document_abstraction_shell_scripts.org
index 199e109..7228170 100644
--- a/org/tests_for_document_abstraction_shell_scripts.org
+++ b/org/tests_for_document_abstraction_shell_scripts.org
@@ -233,10 +233,11 @@ echo "Generating current .ssp files..."
rm -rf "$TMP_DIR"
mkdir -p "$TMP_DIR"
# this run has to be the parallel one: the serial run below is what it is
-# compared against, and two serial runs compare nothing. --show-abstraction
-# now parallelises on its own, and --abstraction is kept as well so that the
-# test does not go quietly serial if that ever changes.
-$SPINE_BIN --abstraction --show-abstraction --skip-output --output="$SCRIPT_DIR/current" "$SAMPLES_DIR"/* 2>&1 | tail -1
+# compared against, and two serial runs compare nothing. Serial is spine's
+# behaviour now and --parallel is the option, so it has to be asked for
+# here by name. Drop it and this test stops guarding the .ssp write race
+# without any test failing to say so.
+$SPINE_BIN --parallel --show-abstraction --skip-output --output="$SCRIPT_DIR/current" "$SAMPLES_DIR"/* 2>&1 | tail -1
# flatten
find "$SCRIPT_DIR/current" -name "*.ssp" ! -path "$TMP_DIR/*" -exec mv {} "$TMP_DIR/" \;
find "$SCRIPT_DIR/current" -mindepth 1 -type d -empty -delete 2>/dev/null || true