1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 14:31:46 +00:00

tests refactoring

This commit is contained in:
deadc0de6
2023-09-21 14:09:16 +02:00
committed by deadc0de
parent c4fbd1f650
commit 6386808384
151 changed files with 469 additions and 317 deletions

14
tests.sh vendored
View File

@@ -1,10 +1,10 @@
#!/bin/sh
#!/usr/bin/env bash
# author: deadc0de6 (https://github.com/deadc0de6)
# Copyright (c) 2017, deadc0de6
# stop on first error
#set -ev
set -e
#set -euo errtrace pipefailv
set -euo errtrace pipefail
cur=$(cd "$(dirname "${0}")" && pwd)
@@ -24,10 +24,6 @@ python3 --version
echo "checking syntax..."
"${cur}"/scripts/check-syntax.sh
# test doc
echo "checking documentation..."
"${cur}"/scripts/check-doc.sh
# unittest
echo "unittest..."
"${cur}"/scripts/check-unittests.sh
@@ -39,5 +35,9 @@ echo "tests-ng..."
# merge coverage
coverage combine coverages/*
# test doc
echo "checking documentation..."
"${cur}"/scripts/check-doc.sh
## done
echo "All tests finished successfully"