Displaying 1 result from an estimated 1 matches for "lntbased".
2018 Nov 16
2
[LNT] How to set an env var before executing a test?
So you're referring to llvm_test_prepare? There aren't many examples of that being used. I tried adding a call to it in my test directory's CMakeLists.txt like so:
llvm_test_prepare(WORKDIR ${CMAKE_CURRENT_BINARY_DIR}
export MY_VAR=42
)
In the hopes that something would happen, even an error, but it had no effect. Nothing at http://llvm.org/docs/lnt/tests.html explains how to