Hi, I am trying to understand llvm-lit. Please what does llvm-lit mean by UNRESOLVED test, more specifically the error says: Test has no 'RUN:' line
. (but that’s a lie )
Other questions I have is how come I have two tests and two workers.
I am using the python wrapper installed via pip. Here are my test files
lit.site.cfg.py:
import lit.formats
config.name = "A lit test"
config.test_format = lit.formats.ShTest(True)
config.suffixes = ['.py']
config.enable_bindings_python = 1
config.do_whatever = "i can"
dummy_test.py
# RUN: echo "Please resolve this"
print("YES")
Error:
-- Testing: 2 tests, 2 workers --
UNRESOLVED: A lit test :: lit.site.cfg.py (1 of 2)
******************** TEST 'A lit test :: lit.site.cfg.py' FAILED ********************
Test has no 'RUN:' line
********************
PASS: A lit test :: dummy.py (2 of 2)
********************
Unresolved Tests (1):
A lit test :: lit.site.cfg.py
Testing Time: 0.06s
Passed : 1
Unresolved: 1