Pass over a data source whose script the image cannot run

This commit is contained in:
2026-11-23 20:37:46 +01:00
parent 5727456738
commit c9948496eb
5 changed files with 34 additions and 11 deletions
+8 -8
View File
@@ -54,14 +54,14 @@ doesn't run, so --seed, --bugs and --prefix don't go with it.
a folder out. Before Haiku starts, the bench runs the script at the top of a copy of each side's tree, in the image with no
network, and the files it adds are the register: a made-up dataset in the format a real publisher would use. The container
holds that tree and the script alone, so the script can't read another file of the task's folder. Seed the script, so that it
writes the same bytes at both sides. The bench passes over a task whose script doesn't exit 0, runs for 30 minutes, adds no
file, adds a link or anything else that is no regular file, writes a `.git`, or writes one register at the base and another at
the head; the report says which, with the last line a failing script printed. `spec.md` tells Haiku where the register is and
what to add: say, the importer, the data it imports and the licence entry. The reference patch adds them, and the acceptance
tests check them, as by running the importer again and comparing what it writes with the committed data. A task counts, and a
run passes, as for a feature; the tree that is checked holds the register as Haiku left it. Name the made-up publisher's
country by a code no real data could carry: one ISO 3166-1 leaves to its users, such as QZ, and never XK, which is Kosovo's in
practice. The table has a row per data source and side.
writes the same bytes at both sides. The bench passes over a task whose script doesn't exit 0, as where the image lacks its
interpreter, runs for 30 minutes, adds no file, adds a link or anything else that is no regular file, writes a `.git`, or
writes one register at the base and another at the head; the report says which, with the last line a failing script printed.
`spec.md` tells Haiku where the register is and what to add: say, the importer, the data it imports and the licence entry. The
reference patch adds them, and the acceptance tests check them, as by running the importer again and comparing what it writes
with the committed data. A task counts, and a run passes, as for a feature; the tree that is checked holds the register as
Haiku left it. Name the made-up publisher's country by a code no real data could carry: one ISO 3166-1 leaves to its users,
such as QZ, and never XK, which is Kosovo's in practice. The table has a row per data source and side.
It prints the base and the head, then a table: a row per bug and side with how many fixes passed and the medians, over the runs
that finished, of the input, cache-write, cache-read and output tokens, the turns, the wall time, and the reads and searches before