summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2021-11-16 23:59:43 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2022-02-22 22:07:45 -0500
commite6d93612e86f50809b941030ef605382895e6f0a (patch)
tree896acdb11f9993ddf177b692eaed37f825176740 /ci
parent2b09b5d7a0e856f6a5b23bfbd38537f8ee472523 (diff)
downloadlibgit2-e6d93612e86f50809b941030ef605382895e6f0a.tar.gz
refactor: move utility tests into util
Diffstat (limited to 'ci')
-rwxr-xr-xci/test.sh22
1 files changed, 17 insertions, 5 deletions
diff --git a/ci/test.sh b/ci/test.sh
index a94839778..ec2151987 100755
--- a/ci/test.sh
+++ b/ci/test.sh
@@ -156,13 +156,25 @@ fi
# Run the tests that do not require network connectivity.
+if [ -z "$SKIP_UTILITY_TESTS" ]; then
+ run_test util
+fi
+
if [ -z "$SKIP_OFFLINE_TESTS" ]; then
echo ""
echo "##############################################################################"
- echo "## Running (offline) tests"
+ echo "## Running core tests"
echo "##############################################################################"
+ echo ""
+ echo "Running libgit2 integration (offline) tests"
+ echo ""
run_test offline
+
+ echo ""
+ echo "Running utility tests"
+ echo ""
+ run_test util
fi
if [ -n "$RUN_INVASIVE_TESTS" ]; then
@@ -186,7 +198,7 @@ if [ -z "$SKIP_ONLINE_TESTS" ]; then
echo ""
echo "##############################################################################"
- echo "## Running (online) tests"
+ echo "## Running networking (online) tests"
echo "##############################################################################"
export GITTEST_REMOTE_REDIRECT_INITIAL="http://localhost:9000/initial-redirect/libgit2/TestGitRepository"
@@ -198,9 +210,9 @@ if [ -z "$SKIP_ONLINE_TESTS" ]; then
# Run the online tests that immutably change global state separately
# to avoid polluting the test environment.
echo ""
- echo "##############################################################################"
- echo "## Running (online_customcert) tests"
- echo "##############################################################################"
+ echo "Running custom certificate (online_customcert) tests"
+ echo ""
+
run_test online_customcert
fi