[android] Push test binaries w/o modifying executable name. #19960
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.
At least test_rth.swift is checking the name of the executable
during the test, so renaming every executable to __executable in
Android will never work.
Also, during the rth tool execution, all the results from before
and after are pushed for every test. Since Android copies the
passed files without relative paths, the library files will
overwrite each other, making the test fail.
Depends on #19949 (more or less)
@modocache: I suppose that you might not remember why you renamed every binary to
__executable
, but I think that since the arguments end up in the text files, the length of the binary name should not be that important anymore. If you think it would be a problem, I might include an special case for the binaries pushed by the resilience tests (before_before
,before_after
,after_before
,after_after
).@jrose-apple: I had to limit the glob from only one of the directories (
before
orafter
). I don’t think this would break the test, or invalidate the testing results. When testingbefore
, theafter
directory would not be there, so trying to link against it would not find the library, failing the test. If you think this is not correct, I can try to modify #19949 to use relative paths, but it might get hairy.