Index: tools/toolchain.sh
===================================================================
--- tools/toolchain.sh	(revision 4aba58199ef9ede50ac743fd32a73eeb465dc4e2)
+++ tools/toolchain.sh	(revision accdbd830beca44bcb50139f5c5e256cbe7afda9)
@@ -61,4 +61,5 @@
 	echo "Syntax:"
 	echo " $0 [--no-install] [--non-helenos-target] <platform>"
+	echo " $0 --test-version [<platform>]"
 	echo
 	echo "Possible target platforms are:"
@@ -100,6 +101,11 @@
 	echo "Start testing the version of the installed software" 
 	echo
-
-	PLATFORMS=("amd64" "arm32" "ia32" "ia64" "mips32" "mips32eb" "ppc32" "riscv64" "sparc64")
+	
+	if [ -z "$1" ] || [ "$1" == "all" ] ; then
+		PLATFORMS=("amd64" "arm32" "ia32" "ia64" "mips32" "mips32eb" "ppc32" "riscv64" "sparc64")
+	else
+		PLATFORMS=("$1")
+	fi
+	
 	
 	if [ -z "${CROSS_PREFIX}" ] ; then
@@ -465,4 +471,8 @@
 while [ "$#" -gt 1 ] ; do
 	case "$1" in
+		--test-version)
+			test_version "$2"
+			exit
+			;;
 		--no-install)
 			REAL_INSTALL=false
@@ -484,5 +494,5 @@
 
 case "$1" in
-	"--test-version")
+	--test-version)
 		test_version
 		;;
