fix lit tests

This is a combination of 3 commits.

fix build and test errors

fix lit test error

fix lit tests
This commit is contained in:
Michael Melesse
2023-04-26 15:15:44 -05:00
parent 1581a1da26
commit 13facab95f
10 changed files with 39 additions and 37 deletions

View File

@@ -1,8 +1,8 @@
python3 -m pip install lit
cd python
LIT_TEST_DIR="build/$(ls build)/test"
if [ ! -d "$LIT_TEST_DIR" ]; then
echo "Not found $($LIT_TEST_DIR). Did you change an installation method?"
LIT_TEST_DIR="build/$(ls build | grep -i cmake)/test"
if [ ! -d "${LIT_TEST_DIR}" ]; then
echo "Could not find '${LIT_TEST_DIR}'"
exit -1
fi