forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run failing tests in CI, without turning CI red (facebook#20775)
Summary: We have several disabled tests in Circle, and they are not running at all. This prevents us from seeing when a disabled test might actually be fixed, as enabling the test requires uncommenting the correct line in Circle CI's config. In this PR, we use the existing swallow_error script to run known-failing steps, without failing the job. This will let us see the step's output in CI, without polluting PRs that have not introduced new failures to CI. Pull Request resolved: facebook#20775 Differential Revision: D9442412 Pulled By: hramos fbshipit-source-id: 83c930811a559fdcf6d7b926b4073343e862d2b3
- Loading branch information
1 parent
ddfe3a3
commit 9e8ee09
Showing
2 changed files
with
71 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
#!/bin/bash | ||
|
||
# execute command | ||
$@ | ||
"$@" | ||
|
||
# check status | ||
STATUS=$? | ||
if [ $STATUS == 0 ]; then | ||
echo "Command '$@' completed successfully" | ||
echo "Command " "$@" " completed successfully" | ||
else | ||
echo "Command '$@' exited with error status $STATUS" | ||
echo "Command " "$@" " exited with error status $STATUS" | ||
fi | ||
|