Commit 6575ad18 authored by Adam Knapp's avatar Adam Knapp

Accepting .zip extension as executable Java archive

Change-Id: If81e62a956d84d3133cd0be267f4a368bf8c5314
Signed-off-by: Adam Knapp's avatarAdam Knapp <adam.knapp@ericsson.com>
parent c1e639a5
......@@ -28,14 +28,15 @@ exec expect "$0" "$@"
## ##
## EXPECT script to automate TTCN-3 testing ##
## ##
## ETH/RUS Tibor Csndes 2003.05.22. v1.1 ##
## ETH/RUS Tibor Csöndes 2003.05.22. v1.1 ##
## ETH/RZX Janos Zoltan Szabo 2005.01.01. v1.2 ##
## ETH/RZX Tibor Csndes 2005.03.23. v1.3 ##
## ETH/RZR Csaba Rduly 2010.04.06. v1.4 ##
## ETH/RZX Tibor Csöndes 2005.03.23. v1.3 ##
## ETH/RZR Csaba Ráduly 2010.04.06. v1.4 ##
## ETH/XZD Jeno Balasko 2010.10.14 v1.5 ##
## ETH/XZD Jeno Balasko 2011.11.23 v1.6 ##
## ETH/XZR Adam Delic 2012.02.22 v1.7 ##
## ETH Adam Knapp 2021.03.03 v1.8 ##
## ETH Adam Knapp 2021.04.15 v1.9 ##
#####################################################
puts "ttcn3_start: Starting the test suite"
......@@ -146,6 +147,10 @@ if {[string tolower [string range $ETS [expr [string length $ETS] - 4] end]] ==
set ETS_basename [string range $ETS 0 [expr [string length $ETS] - 5]]
set isJAR 1
check_java
} elseif {[string tolower [string range $ETS [expr [string length $ETS] - 4] end]] == ".zip"} {
set ETS_basename [string range $ETS 0 [expr [string length $ETS] - 5]]
set isJAR 1
check_java
} else {
set ETS_basename $ETS
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment