From 6f94498fbb615b1d34f419222e39da9680dd7300 Mon Sep 17 00:00:00 2001 From: MyungJoo Ham Date: Thu, 17 Aug 2023 17:26:46 +0900 Subject: [PATCH] Release of 1.4.0 / Added Version info Release of version 1.4.0 Use -v / --version to show the version info. Signed-off-by: MyungJoo Ham --- debian/changelog | 6 ++++++ packaging/ssat.spec | 2 +- ssat.sh | 13 +++++++++++-- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 89c0eec..7de1bab 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +ssat (1.4.0) stable; urgency=medium + + * Vangrind support added. + + -- MyungJoo Ham Thu, 17 Aug 2023 17:21:00 +0900 + ssat (1.2.0) stable; urgency=medium * Progress and error logs revised. diff --git a/packaging/ssat.spec b/packaging/ssat.spec index 61e4c39..aa2860a 100644 --- a/packaging/ssat.spec +++ b/packaging/ssat.spec @@ -1,6 +1,6 @@ Name: ssat Summary: Shell Script Automated Tester -Version: 1.3.0 +Version: 1.4.0 Release: 0 Group: Development/Tools Packager: MyungJoo Ham diff --git a/ssat.sh b/ssat.sh index 5916f55..cf76c28 100755 --- a/ssat.sh +++ b/ssat.sh @@ -31,7 +31,7 @@ ## - OUTPUT : Summary of test results to stdout. Exit code of 0 if success, non-zero if not success. ## @section CREATEINFO Code information ## - Initial date : 2018/06/22 -## - Version : 1.2.0 +## - Version : 1.4.0 TARGET=$(pwd) TARGET_ASSIGNED=0 @@ -39,6 +39,7 @@ BASEPATH=`dirname "$0"` BASENAME=`basename "$0"` TESTCASE="runTest.sh" SUMMARYFILENAME="" +VERSION="1.4.0" # SILENT=1 @@ -96,7 +97,7 @@ do key="$1" case $key in -h|--help) - printf "usage: ${BASENAME} [--help] [] [--testcase ] [--nocolor] [--showstdout] [--createtemplate] [--countnegative ] [--enable-valgrind] [--valgrind-suppression ]\n\n" + printf "usage: ${BASENAME} [--help] [] [--testcase ] [--nocolor] [--showstdout] [--createtemplate] [--countnegative ] [--enable-valgrind] [--valgrind-suppression ] [--version]\n\n" printf "These are common ${Red}ssat${NC} commands used:\n\n" printf "Test all test-groups in the current ($(pwd)) directory, recursively\n" printf " (no options specified)\n" @@ -148,6 +149,9 @@ do printf "\n" printf "Write result summary as a file\n" printf " --summary \n" + printf "\n" + printf "Show the version\n" + printf " --version or -v\n" printf "\n\n" exit 0 ;; @@ -204,6 +208,11 @@ do shift shift ;; + --version|-v) + printf "${VERSION}\n" + exit 0 + shift + ;; *) # Unknown, which is probably target (the path to root-dir of test groups). # If this is the second occurrence, ignore it. # Assume that the previous string is path and the later string is an invalid argument. -- 2.7.4