Description
The command line parameter ECLogLine can be used to suppress certain log messages related to embedded code execution. This test checks that this works as expected. Contributor: Lutz Westermann, May 2025
Small Model of Type : GAMS
Category : GAMS Test library
Main file : embpy14.gms
$title Test parameter ECLogLine (EMBPY14,SEQ=984)
$onText
The command line parameter ECLogLine can be used to suppress certain log
messages related to embedded code execution. This test checks that this
works as expected.
Contributor: Lutz Westermann, May 2025
$offText
$call.checkErrorLevel gamslib -q embmiex1
$call.checkErrorLevel gams embmiex1 lo=2
$call.checkErrorLevel grep -q "embedded library" embmiex1.log
$call.checkErrorLevel gams embmiex1 lo=2 ECLogLine=off
$call grep -q "embedded library" embmiex1.log
$if not errorlevel 1 $abort Found unexpected "embedded library" in embmiex1.log