By default the tests use which poplog to determine which poplog to invoke. Now this is acceptable if you run PATH=_build/poplog_base/pop/bin:$PATH pytest systests so that the tests will use the local build, however this is a pain to run yourself each time.
Instead, it'd be better if we default to testing the built poplog--this is more inline with developer expectations.
This commit implements this behaviour, and allows overriding by specifying a USE_SYSTEM_POPLOG env var whose value, when anything other than 0 or a case-insensitive false, will cause the tests to use the system poplog determined via which poplog.
By default the tests use
which poplog
to determine which poplog to invoke. Now this is acceptable if you runPATH=_build/poplog_base/pop/bin:$PATH pytest systests
so that the tests will use the local build, however this is a pain to run yourself each time. Instead, it'd be better if we default to testing the built poplog--this is more inline with developer expectations. This commit implements this behaviour, and allows overriding by specifying aUSE_SYSTEM_POPLOG
env var whose value, when anything other than0
or a case-insensitivefalse
, will cause the tests to use the system poplog determined viawhich poplog
.