mirror of
https://github.com/getsentry/self-hosted.git
synced 2025-12-08 19:46:14 +00:00
21 lines
411 B
Bash
Executable File
21 lines
411 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
export REPORT_SELF_HOSTED_ISSUES=0 # will be over-ridden in the relevant test
|
|
|
|
FORCE_CLEAN=1 "./scripts/reset.sh"
|
|
fail=0
|
|
for test_file in _unit-test/*-test.sh; do
|
|
if [ "$1" -a "$1" != "$test_file" ]; then
|
|
echo "🙊 Skipping $test_file ..."
|
|
continue
|
|
fi
|
|
echo "🙈 Running $test_file ..."
|
|
$test_file
|
|
if [ $? != 0 ]; then
|
|
echo fail 👎
|
|
fail=1
|
|
fi
|
|
done
|
|
|
|
exit $fail
|