HMS-Analytical-Software / SASUnit

SASUnit is a unit testing framework for SAS(TM)-programs. It can be used for the development, execution and automatic documentation of tests for SAS programs.
GNU Lesser General Public License v3.0
2 stars 0 forks source link

SASUnit should be able to place bin files in any folder #19

Open KLandwich opened 8 months ago

KLandwich commented 8 months ago

We have a different location for program installations and the projects with the SAS-Programms

Installation (disk d): sasunit

Project (disk f):

In sasunit.setup.9.4.cmd it is possible to set up this structure.

SET SASUNIT_TESTDB_PATH=%SASUNIT_PROJECTROOT%\sasunit_prj\%SASUNIT_LANGUAGE%\testdb SET SASUNIT_LOG_PATH=%SASUNIT_PROJECTROOT%\sasunit_prj\%SASUNIT_LANGUAGE%\logs SET SASUNIT_SCN_LOG_PATH=%SASUNIT_PROJECTROOT%\sasunit_prj\%SASUNIT_LANGUAGE%\scn_logs SET SASUNIT_REPORT_PATH=%SASUNIT_PROJECTROOT%\sasunit_prj\%SASUNIT_LANGUAGE%\doc SET SASUNIT_RUNALL=%SASUNIT_PROJECTROOT%\sasunit_prj\run_all.sas

but initsasunit.sas and runsasunitsetup.sas want the bin directory only in g_sProjectRootFolder, i_root (SASUNIT_PROJECTROOT). It is possible to change initsasunit.sas and runsasunitsetup.sas to have all the sasunit project files to have in one directory?

in this constallation some directories are not created in initsasunit.sas:

%SASUNIT_PROJECTROOT%\sasunit_prj\bin %SASUNIT_TESTDB_PATH% %SASUNIT_LOG_PATH% %SASUNIT_SCN_LOG_PATH% %SASUNIT_REPORT_PATH% %SASUNIT_PROJECTROOT%\sasunit_prj\dat %SASUNIT_PROJECTROOT%\sasunit_prj\doc\spec %SASUNIT_PROJECTROOT%\sasunit_prj\en\doc\tempDoc\crossreference

Respective ticket on SourceForge