-
Notifications
You must be signed in to change notification settings - Fork 46
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
[apple] 2 test result files with different names. Can't assign a fix file name (eg. TestResult.xml) #983
Comments
Can you elaborate on what you mean by "generate a fix file name test result"? Can you share output of the XHarness command? |
Hi @premun,
|
Can you please run the command with |
Need to be appended in the same command? |
Ah, apologies, it's |
Here's the log |
I am not sure why it creates two of those. I suppose you have cleaned the folder between different runs? I can see that in our builds, we do this: # Rename test result XML so that AzDO reporter recognizes it
test_results=$(ls "$output_directory"/xunit-*.xml)
if [ -f "$test_results" ]; then
echo "Found test results in $test_results. Renaming to testResults.xml to prepare for Helix upload"
# Prepare test results for Helix to pick up
mv "$test_results" "$output_directory/testResults.xml"
fi |
Yes. it is a clean build on an empty directory. I will do the same & continue investigating then. |
Not able to generate a fix file name test result. I might be missing something in apple. Works fine in android. Command i use is
xharness apple test --app=myApp.app --output-directory=./temp --target=ios-simulator-64
The text was updated successfully, but these errors were encountered: