mirror of
https://github.com/status-im/react-native.git
synced 2025-01-30 19:25:11 +00:00
6af3b161c0
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: https://github.com/facebook/react-native/pull/20775 Differential Revision: D9442412 Pulled By: hramos fbshipit-source-id: 83c930811a559fdcf6d7b926b4073343e862d2b3
13 lines
204 B
Bash
Executable File
13 lines
204 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# execute command
|
|
"$@"
|
|
|
|
# check status
|
|
STATUS=$?
|
|
if [ $STATUS == 0 ]; then
|
|
echo "Command " "$@" " completed successfully"
|
|
else
|
|
echo "Command " "$@" " exited with error status $STATUS"
|
|
fi
|