check.py fails to run 'lit' test suite
osa1 opened this issue · 2 comments
osa1 commented
check.py
reports these test suites:
$ ./check.py --list-suites
version
wasm-opt
wasm-dis
crash
dylink
ctor-eval
wasm-metadce
wasm-reduce
spec
lld
wasm2js
validator
example
unit
binaryenjs
binaryenjs_wasm
lit
gtest
Many of them I can run, for example check.py gtest
, check.py unit
, check.py spec
work.
But lit
fails:
$ ./check.py lit
Traceback (most recent call last):
File "/usr/local/google/home/omersa/binaryen/bin/binaryen-lit", line 18, in <module>
from lit.main import main
ModuleNotFoundError: No module named 'lit'
Traceback (most recent call last):
File "/usr/local/google/home/omersa/binaryen/./check.py", line 408, in <module>
sys.exit(main())
^^^^^^
File "/usr/local/google/home/omersa/binaryen/./check.py", line 391, in main
TEST_SUITES[test]()
File "/usr/local/google/home/omersa/binaryen/./check.py", line 332, in run_lit
shared.with_pass_debug(run)
File "/usr/local/google/home/omersa/binaryen/scripts/test/shared.py", line 551, in with_pass_debug
check()
File "/usr/local/google/home/omersa/binaryen/./check.py", line 330, in run
raise Exception("lit test failed")
Exception: lit test failed
How do I run the 'lit' test suite?
kripken commented
I think lit
needs to be installed, see
https://github.com/WebAssembly/binaryen?tab=readme-ov-file#setting-up-dependencies
osa1 commented
Thanks!.