Repository navigation
test: make c import directory fixture reproducible - #1098
Merged
Merged
Conversation
godofecht
added a commit
that referenced
this pull request
Oct 1, 2026
…#1095) The flow command line is a Flow program (tools/flow_cli). ./flow is a short sh stub that builds and runs it. The 4,311-line bash flow-driver is deleted, and the scripts and tools that called it now call the CLI. tests/cli/run.sh holds the CLI to goldens for every subcommand, per OS. It passes 149/149 on macOS and on Linux CI. The Linux exit-code and stderr goldens came from the bash driver; the Linux stdout goldens were recorded on the CI runner, and in that run no exit code or stderr differed from the bash driver. Carried over while rebasing onto main: - #1093's @cembed linking on the MLIR path, which #1093 added to flow-driver, is now in tools/flow_cli's flow_link_mlir_ll. - The two MLIR CLI goldens follow #1093's string escape (\0A). - The MLIR corpus digest for test_c_import_dirs follows #1098. corpus_parity compares only the build of nine programs whose run depends on machine load: concurrency examples and nbody under seven parallel jobs with a 10s limit, and three whose Python golden run timed out. They are listed in compiler/corpus_parity/timing.txt. The floor stays 1033; this tree scores 1038. The flow-driver references that remain are historical git archive calls of old revisions (corpus_parity --python, the gpu parity reference), docs that describe the deletion, and two guarded lines in packaging/homebrew/Formula/flow.rb that install flow-driver only if it exists.
This was referenced Oct 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add the header used by test_c_import_dirs to the repository and point the test at that fixture. This removes the dependency on a stale /tmp file.