Change defaults for HTTP_PORT (1277 is use by another service).

v0.27.3
clanmills 5 years ago
parent b2be8e7c0c
commit cc4d56dec1

@ -775,7 +775,7 @@ Environment Variables used by the test suite:
| Variable | Default | Platforms | Purpose |
|:-- |:-- |:-- |:-- |
| EXIV2_BINDIR | **\<exiv2dir\>/build/bin** | All Platforms | Location of built binary objects (exiv2.exe) |
| EXIV2_PORT | **1277**<br>**1278**<br>**1276** | Cygwin<br>MinGW/msys2<br>Other Platforms | Test TCP/IP Port |
| EXIV2_PORT | **12762**<br>**12671**<br>**12760** | Cygwin<br>MinGW/msys2<br>Other Platforms | Test TCP/IP Port |
| EXIV2_HTTP | **http://0.0.0.0** | All Platforms | Test http server |
| EXIV2_EXT | **.exe** | msvc<br>Cygwin<br>MinGW/msys2 | Extension used by executable binaries |
| EXIV2_EXT | _**not set**_ | Linux<br>macOS<br>Unix| |

@ -438,9 +438,9 @@ checkSum()
startHttpServer() {
cd "${testdir}/.." # testdir is the tmp output directory
if [ "$PLATFORM" == "cygwin" ]; then dport=1277
elif [ "$PLATFORM" == "mingw" ]; then dport=1278
else dport=1276
if [ "$PLATFORM" == "cygwin" ]; then dport=12762
elif [ "$PLATFORM" == "mingw" ]; then dport=12761
else dport=12760
fi
if [ ! -z $EXIV2_PORT ]; then port=$EXIV2_PORT ; else port=$dport ; fi

Loading…
Cancel
Save