-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unit tests regressions! #134
Comments
These are all fixed by avr-rust/llvm#10. |
LABEL AS: has local patch |
How do you run the unit tests (except running them for each file manually)? |
When you build llvm you’ll have a bin directory where llc, opt, etc. are located. In there is llvm-lit.
Run it then pass the test directory.
For example in my set up, I have the llvm source code in ~/llvm. The build is in a sub folder ~/llvm/build. To run lit I would do:
~/llvm/build/bin/llvm-lit ~/test/CodeGen/AVR
Which runs all tests. Or append a single test.
… On 15 Mar 2019, at 20:53, hercek ***@***.***> wrote:
How do you run the unit tests (except running them for each file manually)?
llvm-lit does not work on my build. It does not have python variable llvm_config defined probably becase rust/src/llvm/test/lit.site.cfg.py.in is not processed to lit.site.cfg.py.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Thanks. That is it. When you let rust build system to build llvm then it does not build |
Since fixed in LLVM trunk. |
I've just run the unit tests on avr-rust-2019-01-18 and I'm getting regressions?
Testing Time: 2.56s
Failing Tests (4):
LLVM :: CodeGen/AVR/call.ll
LLVM :: CodeGen/AVR/directmem.ll
LLVM :: CodeGen/AVR/div.ll
LLVM :: CodeGen/AVR/rem.ll
Expected Passes : 117
Expected Failures : 3
Unexpected Failures: 4
The text was updated successfully, but these errors were encountered: