Branch: Tag:

2018-04-13

2018-04-13 12:15:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Start [NT]: Add self test modules to the module path.

Also make the path relative to $SELF_TEST_DIR.

Sync with

commit 7372564b9e913a95c131531c3041de58460bfa82
Author: Karl Gustav Sterneberg <kg@roxen.com>
Date: Tue Feb 27 15:03:13 2018 +0100

Add test module path when running self tests.

1485:    }       //DEFINES="-DRUN_SELF_TEST -DSELF_TEST_DIR=\"$SELF_TEST_DIR\" $DEFINES" +  //DEFINES="$DEFINES \"-M$SELF_TEST_DIR/modules\""    //rm -rf $VARDIR/test_config*    //cp -R etc/test/config $VARDIR/test_config    //cp etc/test/filesystem/test_rxml_package rxml_packages/test_rxml_package
1493:    //remove_dumped=1    m_saPikeArgs.Add("-DRUN_SELF_TEST");    m_saPikeArgs.Add(("-DSELF_TEST_DIR=\\\"" + selfTestDirUnx + "\\\"").c_str()); +  m_saPikeArgs.Add(("\\\"-M" + selfTestDirUnx + "/modules\\\"").c_str());       m_bOnce = TRUE;    m_iDebug = max(m_iDebug, 1);