new tests

This commit is contained in:
Mark Gregory
2026-10-19 09:50:07 +01:00
parent ff3658352a
commit a8b66070c3
2 changed files with 1056 additions and 256 deletions
+1050 -251
View File
File diff suppressed because it is too large Load Diff
+6 -5
View File
@@ -11,16 +11,17 @@ STAMP="$(date +%Y%m%d-%H%M%S)"
RESULT="$ROOT/test-results/DBSyn-$STAMP.xcresult"
LOG="$ROOT/test-results/DBSyn-$STAMP.log"
echo "Running DBSyn XCTest suite. Log: $LOG"
set +e
xcodebuild test \
if xcodebuild test \
-project DBSyn.xcodeproj \
-scheme DBSyn \
-configuration Debug \
-destination 'platform=macOS,arch=arm64' \
-derivedDataPath "$ROOT/build" \
-resultBundlePath "$RESULT" \
CODE_SIGNING_ALLOWED=NO 2>&1 | tee "$LOG"
STATUS=${PIPESTATUS[0]}
set -e
CODE_SIGNING_ALLOWED=NO 2>&1 | tee "$LOG"; then
STATUS=0
else
STATUS=$?
fi
printf '\nTest log: %s\nTest results: %s\n' "$LOG" "$RESULT"
exit "$STATUS"