Relative Content

Tag Archive for scons

How to run scons tests in a customized environment?

I’m using windows 2022, where Visual Studio and Windows SDK are in a customized location.
I download the scons 4.0.0 source from github and then build scons. All works fine.
Then I modify some code in scons and would like to verify if scons works fine after that.
I’m doing this by running scons tests by issuing python runtest.py -a
As expected, a lot of test cases fail due to “‘cl’ is not recognized as an internal or external command”, which should be caused by the fact that scons fails to figure out the cl/link/etc. as they are in an abnormal place on my windows.