mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Tests are running again
Revised Readme.md Signed-off-by: Paulchen-Panther <Paulchen-Panter@protonmail.com>
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
[ "${BUILD_TYPE}" == "Release" ] && exit 0
|
||||
|
||||
STATS_FAILED=0
|
||||
STATS_SUCCESS=0
|
||||
STATS_SKIPPED=0
|
||||
STATS_TOTAL=0
|
||||
|
||||
|
||||
# exec_test "test name" test_exec --with --args
|
||||
function exec_test()
|
||||
{
|
||||
@@ -33,7 +34,9 @@ function exec_test()
|
||||
}
|
||||
|
||||
######################################
|
||||
## EXEC TESTS
|
||||
############# EXEC TESTS #############
|
||||
######################################
|
||||
|
||||
cd build || exit 1
|
||||
|
||||
echo
|
||||
@@ -41,7 +44,7 @@ echo "Hyperion test execution"
|
||||
echo
|
||||
exec_test "hyperiond is executable and show version" bin/hyperiond --version
|
||||
|
||||
for cfg in ../config/*json*
|
||||
for cfg in ../config/*json.default
|
||||
do
|
||||
exec_test "test $(basename $cfg)" bin/test_configfile $cfg
|
||||
done
|
||||
@@ -50,10 +53,10 @@ echo
|
||||
echo
|
||||
echo "TEST SUMMARY"
|
||||
echo "============"
|
||||
echo " total: $STATS_TOTAL"
|
||||
echo " success: $STATS_SUCCESS"
|
||||
echo " skipped: $STATS_SKIPPED"
|
||||
echo " failed: $STATS_FAILED"
|
||||
echo " total: $STATS_TOTAL"
|
||||
echo "success: $STATS_SUCCESS"
|
||||
echo "skipped: $STATS_SKIPPED"
|
||||
echo " failed: $STATS_FAILED"
|
||||
|
||||
sleep 2
|
||||
|
||||
|
Reference in New Issue
Block a user