Update.
Build / build-linux (push) Failing after 22s
Build / build-clang (push) Failing after 1m32s
Tests / test (push) Failing after 1m47s
Build / build-macos (push) Has been cancelled

This commit is contained in:
2025-11-29 00:50:53 +01:00
parent a8f1d81976
commit 1ad8901f3e
57 changed files with 18606 additions and 93 deletions
+102
View File
@@ -0,0 +1,102 @@
#!/bin/bash
BUILD_BIN="/home/retoor/projects/tikker/build/bin"
echo "=== Tikker CLI Tools Integration Tests ==="
echo
passed=0
failed=0
# Test 1: Decoder help
echo -n "Testing decoder --help... "
if $BUILD_BIN/tikker-decoder --help 2>&1 | grep -q "Usage:"; then
echo "✓ PASS"
((passed++))
else
echo "✗ FAIL"
((failed++))
fi
# Test 2: Indexer help
echo -n "Testing indexer --help... "
if $BUILD_BIN/tikker-indexer --help 2>&1 | grep -q "Usage:"; then
echo "✓ PASS"
((passed++))
else
echo "✗ FAIL"
((failed++))
fi
# Test 3: Aggregator help
echo -n "Testing aggregator --help... "
if $BUILD_BIN/tikker-aggregator --help 2>&1 | grep -q "Usage:"; then
echo "✓ PASS"
((passed++))
else
echo "✗ FAIL"
((failed++))
fi
# Test 4: Report help
echo -n "Testing report --help... "
if $BUILD_BIN/tikker-report --help 2>&1 | grep -q "Usage:"; then
echo "✓ PASS"
((passed++))
else
echo "✗ FAIL"
((failed++))
fi
# Test 5: Decoder exists and is executable
echo -n "Testing decoder binary... "
if [ -x $BUILD_BIN/tikker-decoder ]; then
echo "✓ PASS"
((passed++))
else
echo "✗ FAIL"
((failed++))
fi
# Test 6: Indexer exists and is executable
echo -n "Testing indexer binary... "
if [ -x $BUILD_BIN/tikker-indexer ]; then
echo "✓ PASS"
((passed++))
else
echo "✗ FAIL"
((failed++))
fi
# Test 7: Aggregator exists and is executable
echo -n "Testing aggregator binary... "
if [ -x $BUILD_BIN/tikker-aggregator ]; then
echo "✓ PASS"
((passed++))
else
echo "✗ FAIL"
((failed++))
fi
# Test 8: Report exists and is executable
echo -n "Testing report binary... "
if [ -x $BUILD_BIN/tikker-report ]; then
echo "✓ PASS"
((passed++))
else
echo "✗ FAIL"
((failed++))
fi
echo
echo "=== Test Summary ==="
echo "Passed: $passed"
echo "Failed: $failed"
if [ $failed -eq 0 ]; then
echo "✓ All tests passed!"
exit 0
else
echo "✗ Some tests failed"
exit 1
fi