libdepend.gms : check location and version of library dependencies

Description

Checks whether GAMS system libraries depend only on white-listed libraries
outside the GAMS system.
Checks whether GAMS system libraries depend only on white-listed versions
of GLIBC & co.

Contributor: Stefan Vigerske, April 2014

  run only on systems for which the test has been implemented
  on WEI, do not run if noComp is set, as it is on testers: dumpbin.exe may not be available


Small Model of Type : GAMS


Category : GAMS Test library


Main file : libdepend.gms

$title check location and version of library dependencies (LIBDEPEND,SEQ=652)

$ontext
Checks whether GAMS system libraries depend only on white-listed libraries
outside the GAMS system.
Checks whether GAMS system libraries depend only on white-listed versions
of GLIBC & co.

Contributor: Stefan Vigerske, April 2014
$offtext

* run only on systems for which the test has been implemented
* on WEI, do not run if noComp is set, as it is on testers: dumpbin.exe may not be available
$ifi %system.buildcode% == LEG $goto continue
$ifi %system.buildcode% == DEG $goto continue
$ifi %system.buildcode% == WEI $if not set noComp $goto continue
$exit

$label continue

$call cd . && "%gams.sysdir%GMSPython%system.dirsep%python" ./libdepend.py "%gams.sysdir%." %system.buildcode% > libdepend.stdout

$if errorlevel 1 $abort 'error in libdepend test, check stderr.txt'