Allow integrations tests to run with selected backends - #1270
Conversation
|
Please also try to support this commit 0663126 in this new |
Or, maybe the |
|
The error is that the runtime_library path for |
|
I'm trying to debug the issue here. As you said, I think it's something related to the path! |
91ca823 to
293697a
Compare
|
So, this works in your local machine, right? |
Yes, it does! |
That has something to do with |
376d8f2 to
56918a0
Compare
|
Here is the issue: Path: /usr/share/miniconda/envs/test/bin/lpython
DirName: /usr/share/miniconda/envs/test/binwhich is the lpython executable path. Lines 53 to 75 in d4a6d53 |
a4963b3 to
37ea579
Compare
| COMMAND lpython -c ${CMAKE_CURRENT_SOURCE_DIR}/${name}.py -o ${name}.o | ||
| COMMAND "${CMAKE_SOURCE_DIR}/../src/bin/lpython" -c | ||
| ${CMAKE_CURRENT_SOURCE_DIR}/${name}.py -o ${name}.o |
There was a problem hiding this comment.
Here is the bug! I hope this is the correct fix!
There was a problem hiding this comment.
Perfect, All the tests passed!
There was a problem hiding this comment.
Thanks, I just have a question that how does that work in current main then?
There was a problem hiding this comment.
Ah, I get the exact bug now. It has to do with the PATH variable. In the current main branch we have the following:
% export PATH="$(pwd)/../src/bin:$PATH"
It adds the lpython executable path first and during the path search, we hit the expected path first.
37ea579 to
0dc2e01
Compare
|
Thanks @Thirumalai-Shaktivel |
0dc2e01 to
1c9572a
Compare
|
@certik @czgdp1807 Please review this PR. |
After merging this we won't require
integration_tests/run_tests.sh