Skip to content

Commit 34c5770

Browse files
Alexander Antonovrdementi
authored andcommitted
Update test.sh to run utests in CI
1 parent 48b0d55 commit 34c5770

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

tests/test.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,5 +408,20 @@ if [ "$?" -ne "0" ]; then
408408
fi
409409
online_offline_cores 1
410410

411+
# Below is UT part
412+
413+
echo "Running Unit Tests"
414+
415+
for test_binary in ./tests/utests/*; do
416+
if [ -x "$test_binary" ]; then
417+
echo "Running $test_binary"
418+
"$test_binary"
419+
if [ "$?" -ne "0" ]; then
420+
echo "Error in $test_binary"
421+
fi
422+
else
423+
echo "Skipping $test_binary (not executable)"
424+
fi
425+
done
411426

412427
popd

0 commit comments

Comments
 (0)