Make runner check for explicit executable #252
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.
The runner doesn't currently work for all languages, because how they differ in what executable file they use. It's the thing we discussed here
(Even if I don't think we agreed that things need to be fixed. 😄 Here's a fix anyway.)
This PR adds and argument to the run commands so that they point at the correct benchmark executable file (or script, when that's the case). Plus reverts the way that we currently split up the benchmark command and it's arguments. The run function now also reports when it can't find a compiled executable or script for the benchmark.
Please note that for some of the languages the actual compiled executable is mine and ChatGPTs best guess, so we probably need to verify this somehow. I believe you have almost all toolchains setup on your machine, @bddicken? If so maybe you are best positioned to verify. I am in the process of setting up more (hopefully all) toolchains, but it will take me a while.
Some more changes of the run.sh script: