Repository navigation
Add a CMake based system for integration tests - #565
Conversation
It tests CPython, LPython/LLVM and LPython/C. One invokes it using: * CPython: cmake . * LPython/LLVM: cmake -DLPYTHON_BACKEND=llvm . * LPython/C: cmake -DLPYTHON_BACKEND=c . Then one does `make` and `ctest`.
|
@czgdp1807 After this is merged, simply add If you want, you can try to get as many tests working with |
|
@czgdp1807 regarding this PR, would you mind please testing locally by hand as well? This is a big change in our infrastructure, so to ensure it works. |
Cool. Sounds good.
Okay. On it right now. |
|
The failure on Linux and macOS at the CI is: Not sure if this path is not there at the CI anymore, or what the problem could be. |
|
Works on my mac as well. All tests pass. |
This comment was marked as outdated.
This comment was marked as outdated.
|
I check the CI on my debug commit and found out the following, Inside, See the logs at https://github.com/lcompilers/lpython/runs/6814568188?check_suite_focus=true |
|
I see, thanks! I think we are executing LPython from the wrong directory it seems, which then causes it to prepend wrong paths. |
|
Tests pass. 🎉. |
It tests CPython, LPython/LLVM and LPython/C. One invokes it using:
Then one does
makeandctest.It should be equivalent to the previous testing script.