ide01.gms : Basic test for IDE mode

Description

If the command line parameter IDE is set, some special markers
are written to the log. This is a basic test to make sure that
this works

Contributor: Lutz Westermann, December 2020


Small Model of Type : GAMS


Category : GAMS Test library


Main file : ide01.gms

$title 'Basic test for IDE mode' (IDE01,SEQ=840)

$onText
If the command line parameter IDE is set, some special markers
are written to the log. This is a basic test to make sure that
this works

Contributor: Lutz Westermann, December 2020
$offText


* Get a model to run
$call.checkErrorLevel gamslib -q trnsport
* Run the model in IDE mode and write the log to a file
$call.checkErrorLevel gams trnsport lo=2 IDE=1
* Check if the generated log file contains the expected FIL marker
$call.checkErrorLevel grep FIL trnsport.log > %system.NullFile%