#!/bin/sh
echo "[Trigerring all tests...]"
-sleep 5
-security-tests.sh ace --output=text
-sleep 5
-security-tests.sh ace-client --output=text
-sleep 5
-security-tests.sh ace-settings --output=text
-sleep 5
-security-tests.sh ace-install --output=text
-sleep 5
-security-tests.sh security-daemon --output=text
-sleep 5
-security-tests.sh vcore --output=text
-sleep 5
-security-tests.sh capi --output=text
-sleep 5
-security-tests.sh pkcs --output=text
-sleep 5
-security-tests.sh smack --output=text
-sleep 5
+
+summary_file="/tmp/security-tests-summary-file"
+
+#delete summary file
+rm -f $summary_file
+
+ign="--runignored"
+if [ $# -gt 0 ]; then
+ if [ "$1" = "--noignored" ]; then
+ ign=""
+ fi
+fi
+
+# 'text' - console output
+# 'summary' - used for summary view
+security-tests.sh smack --output=text --output=summary $ign
+security-tests.sh libprivilege-control --output=text --output=summary $ign
+security-tests.sh ss-clientsmack --output=text --output=summary $ign
+security-tests.sh ss-server --output=text --output=summary $ign
+security-tests.sh ss-password --output=text --output=summary $ign
+security-tests.sh ss-dbus --output=text --output=summary $ign
+security-tests.sh ss-stress --output=text --output=summary $ign
+
+# print summary
+tests-summary.sh $summary_file
+
echo "[Done]"