-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add (and use) a runner wrapping every test, to improve error reporting #303
Open
shym
wants to merge
8
commits into
ocaml-multicore:main
Choose a base branch
from
shym:runner
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Mar 2, 2023
-
This custom runner allows to display the result of a test in the same way on Unix and Windows (by mapping Windows error codes to their equivalent result on Unix) It also uses GitHub CI formats when available so that test failures are referenced as such at their positions in the logs
Configuration menu - View commit details
-
Copy full SHA for 8a5436f - Browse repository at this point
Copy the full SHA 8a5436fView commit details -
Use the custom runner for the test suite
Unfortunately, syntax such as `%{dep:%{test}}` is not understood in an action, and simply using: `(action (run runner %{test}))` does not add the test executable to the dependencies of the action, so dune does not build it We keep the standard runner for the _internal_ tests, as the custom runner would bring no benefit there
Configuration menu - View commit details
-
Copy full SHA for b7da2ba - Browse repository at this point
Copy the full SHA b7da2baView commit details -
Configuration menu - View commit details
-
Copy full SHA for cfabed7 - Browse repository at this point
Copy the full SHA cfabed7View commit details -
Configuration menu - View commit details
-
Copy full SHA for fcde317 - Browse repository at this point
Copy the full SHA fcde317View commit details -
Add a rule to display the final times.log
Also add a rule to build a dummy file in case the TIMELOGDIR was never set
Configuration menu - View commit details
-
Copy full SHA for 7aa68a6 - Browse repository at this point
Copy the full SHA 7aa68a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2695a8e - Browse repository at this point
Copy the full SHA 2695a8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 724a043 - Browse repository at this point
Copy the full SHA 724a043View commit details -
runner: Use floats for times to be compatible with 32 bits
Unix.time () does not fit inside a 31-bit int (which must be why it is using float in the first place), so use floats for times
Configuration menu - View commit details
-
Copy full SHA for 2109996 - Browse repository at this point
Copy the full SHA 2109996View commit details
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.