#!/bin/sh
echo "[Trigerring all tests...]"
-security-tests.sh smack --output=text
-security-tests.sh libprivilege-control --output=text
-security-tests.sh ss-client --output=text
-security-tests.sh ss-clientsmack --output=text
-security-tests.sh ss-label --output=text
-security-tests.sh ss-pid --output=text
-security-tests.sh ss-server --output=text
-security-tests.sh ss-password --output=text
+
+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-privilege --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
+security-tests.sh security-manager --output=text --output=summary $ign
+security-tests.sh cynara --output=text --output=summary $ign
+
+# print summary
+tests-summary.sh $summary_file
+
echo "[Done]"