Closed paulhuggett closed 3 years ago
When runing the test
rld :: undefined_reference.json
. the following error is given:'!': command not found
In the lit test, we could use
not
instead of!
.
This isn’t something that I’ve changed as part of this PR so I would rather resolve that problem separately.
Part of a fix for issue #133 along with pstore PR#88.
I have been very aware every time a new test for rld is committed using the pstore exchange format, that these JSON files will need to be revisited following the fix for issue #133 since this will change the underlying schema. That has been a disincentive to add new tests and added to the need to resolve this problem swiftly.
The matching pstore change adds a new index to the repo which contains the set of ticket file paths. Here we update the compiler, repo-create-ticket, and rld-gen to manipulate this new collection as well as correcting the existing test files.
Here’s a short example showing the effect of this change:
Now create a new ticket file in a different directory and dump the updated database:
This shows that the database is now aware of the two ticket files so it will be possible for the GC process to discover them and treat the compilations that they reference as live during collection. Note that CI for this PR will fail until pstore PR#88 is committed.