buildwarnings.gms : checks gams system build log for warnings

Description

grep's the log of the GAMS build for warnings from compilers and other
tools (doxygen, make, zip, ...)


Small Model of Type : GAMS


Category : GAMS Test library


Main file : buildwarnings.gms

$title checks gams system build log for warnings (buildwarnings,SEQ=683)

$ontext
grep's the log of the GAMS build for warnings from compilers and other
tools (doxygen, make, zip, ...)


The name and path of the log file need to be set in the GAMSBUILDLOG
environment variable.

Contributor: Stefan Vigerske, June 2015
$offtext

* on Windows, we would need to get the Windows-path for GAMSBUILDLOG, but that seems too cumbersome to be worth it
$if %system.filesys% == UNIX $if not exist %sysenv.GAMSBUILDLOG% $abort.noerror "$GAMSBUILDLOG not set or not pointing to existing log file, don't know where to find build log"

$call awk -f buildwarnings.awk %sysenv.GAMSBUILDLOG%
$if errorlevel 1 $abort 'test failed, check stdout/stderr'