or Create a profile
21 Oct, 2019 09:14 PM
I have some tests that may fail/segfault, which causes a build failure:
Is there a way to run make --build . --target test such that errors or segfaults don't cause a build failure?
make --build . --target test
on 21 Oct, 2019 09:20 PM
N.B. I've tried on_success and on_finish.
on 21 Oct, 2019 09:42 PM
In Travis-CI, after_success allows this functionality.
on 22 Oct, 2019 12:16 AM
Right, in AppVeyor failing command in on_success fails the build.
However, you may try something like make --build . --target test & exit 0 or run it as PowerShell: - ps: make --build . --target test.
make --build . --target test & exit 0
- ps: make --build . --target test
on 22 Oct, 2019 05:51 PM
Great, thanks! make --build . --target test & exit 0 worked!
Powershell still failed the build.
on 22 Oct, 2019 06:47 PM
OK, nice. Most probably PowerShell was failing because the process was writing to StdErr which is interpreted by PS as an exception.
Formatting help /
(switch to plain text)
(switch to Markdown)
You can attach files up to 10MB
If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.
A conversation has been started with the AppVeyor staff to resolve this discussion.
This discussion is private.
Only you and AppVeyor support staff can see and reply to it.
This discussion is public. Everyone can see and reply to it.
You can use Command ⌘ instead of Control ^ on Mac
Powered by Tender™.