-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] cli parse
command output is written to intermediate directory but not copied to output directory
#1072
Comments
--output
flag has no effect with parse
command when used from the cli.parse
command output is written to intermediate directory but not copied to output directory
If I'm not mistaken, this is all by design, following #1025. |
I did not mean to close this, especially not with such a curt message. Sorry! To elaborate, iiuc:
However, I think the documentation did not get updated to reflect the conditional generation of the output file, and I could see an argument that This is just my preliminary analysis tho, I don't have strong feelings here. Would be good to get more feedback from @danwt and @Kukovec. |
Ah ok so it's true |
Ah! I'm sorry! I misread! I read |
* Fix integration tests to check for parse file creation * Add writer construction utilities to OutputManager * Restore ability to write parsing to --output file Additionally: - Fix output CLI parser to parse an optional value rather than just a string - Fix TlaWriterFactory to support writing to given PrintWriters, and not just locations inside of the output dir * Log error if intermediate dir can't exist Co-authored-by: Igor Konnov <igor@informal.systems>
Appears in APALACHE version 0.17.0 build f62f370
Description
The command
apalache-mc parse --output=<filename> <tlafile>
does not actually write the output to $filename in the output directory. In fact, it actually writes the output to the intermediate directory, which is only visible if passing--write-intermediate
.The command line parameters used to run the tool
apalache-mc parse --output=<filename> <tlafile>
Expected behavior
A file should be created in the output directory.
Log files
System information
apalache-mc version
]: APALACHE version 0.17.0 build f62f370Additional context
Reproduce with file main.tla
The text was updated successfully, but these errors were encountered: