Tests are running again

Revised Readme.md

Signed-off-by: Paulchen-Panther <Paulchen-Panter@protonmail.com>
This commit is contained in:
Paulchen-Panther
2019-07-09 23:07:31 +02:00
parent d40aa71aa9
commit ff93dd3b25
15 changed files with 116 additions and 117 deletions

View File

@@ -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