#!/usr/bin/env bash set -euo pipefail TEST_DIR="/mnt/16aebe95-f920-450d-b96c-c06bb50ba672/sloproot/tests" cd "$TEST_DIR" echo "=== Running Policy File Parser Test ===" gcc -Wall -Wextra -Werror test_policy.c -o /tmp/test_policy /tmp/test_policy rm -f /tmp/test_policy echo "=== Running Wire Protocol Socket Test ===" gcc -Wall -Wextra -Werror -pthread test_protocol.c -o /tmp/test_protocol /tmp/test_protocol rm -f /tmp/test_protocol echo "=== Running APK & Binary Verification Test ===" python3 test_apks.py echo "=== Running SuDatabase SQLite & Cache Sync Test ===" python3 test_database.py echo "=== Running DeviceInfo & Architecture Matrix Test ===" python3 test_device_info.py echo "=== Running UI Layout & Icon Alignment Test ===" python3 test_ui_layout.py echo "=== Running Release Packaging & Integrity Test ===" python3 test_release.py echo "=== All Tests Completed Successfully ==="