new tests
This commit is contained in:
+1050
-251
File diff suppressed because it is too large
Load Diff
@@ -11,16 +11,17 @@ STAMP="$(date +%Y%m%d-%H%M%S)"
|
|||||||
RESULT="$ROOT/test-results/DBSyn-$STAMP.xcresult"
|
RESULT="$ROOT/test-results/DBSyn-$STAMP.xcresult"
|
||||||
LOG="$ROOT/test-results/DBSyn-$STAMP.log"
|
LOG="$ROOT/test-results/DBSyn-$STAMP.log"
|
||||||
echo "Running DBSyn XCTest suite. Log: $LOG"
|
echo "Running DBSyn XCTest suite. Log: $LOG"
|
||||||
set +e
|
if xcodebuild test \
|
||||||
xcodebuild test \
|
|
||||||
-project DBSyn.xcodeproj \
|
-project DBSyn.xcodeproj \
|
||||||
-scheme DBSyn \
|
-scheme DBSyn \
|
||||||
-configuration Debug \
|
-configuration Debug \
|
||||||
-destination 'platform=macOS,arch=arm64' \
|
-destination 'platform=macOS,arch=arm64' \
|
||||||
-derivedDataPath "$ROOT/build" \
|
-derivedDataPath "$ROOT/build" \
|
||||||
-resultBundlePath "$RESULT" \
|
-resultBundlePath "$RESULT" \
|
||||||
CODE_SIGNING_ALLOWED=NO 2>&1 | tee "$LOG"
|
CODE_SIGNING_ALLOWED=NO 2>&1 | tee "$LOG"; then
|
||||||
STATUS=${PIPESTATUS[0]}
|
STATUS=0
|
||||||
set -e
|
else
|
||||||
|
STATUS=$?
|
||||||
|
fi
|
||||||
printf '\nTest log: %s\nTest results: %s\n' "$LOG" "$RESULT"
|
printf '\nTest log: %s\nTest results: %s\n' "$LOG" "$RESULT"
|
||||||
exit "$STATUS"
|
exit "$STATUS"
|
||||||
|
|||||||
Reference in New Issue
Block a user