Skip to content

Commit 5394475

Browse files
authored
A couple unit testing improvements (#2238)
1 parent 80d4e67 commit 5394475

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

unit-test.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
#!/usr/bin/env bash
22

3+
export REPORT_SELF_HOSTED_ISSUES=0 # will be over-ridden in the relevant test
4+
35
FORCE_CLEAN=1 "./scripts/reset.sh"
46
fail=0
57
for test_file in _unit-test/*-test.sh; do
8+
if [ "$1" -a "$1" != "$test_file" ]; then
9+
echo "🙊 Skipping $test_file ..."
10+
continue
11+
fi
612
echo "🙈 Running $test_file ..."
713
$test_file
814
if [ $? != 0 ]; then

0 commit comments

Comments
 (0)