Skip to content

Commit 0260e3a

Browse files
committed
Update testing packages
1 parent 7bf8957 commit 0260e3a

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,6 @@ jobs:
206206
adb push $ANDROID_NDK_HOME/toolchains/llvm/prebuilt/*/sysroot/usr/lib/${ANDROID_EMULATOR_ARCH_TRIPLE}-linux-android/libc++_shared.so /data/local/tmp/
207207
adb shell /data/local/tmp/hello
208208
209-
- run: ./android-ci.sh test swiftlang/swift-syntax
210-
211209
- run: ./android-ci.sh test swiftlang/swift-subprocess
212210

213211
- run: ./android-ci.sh test swiftlang/swift-java
@@ -218,6 +216,9 @@ jobs:
218216

219217
- run: ./android-ci.sh test apple/swift-atomics
220218

219+
# build-only because it uses hardwired StringLiteralRepresentedLiteralValueTests.swift
220+
- run: ./android-ci.sh build swiftlang/swift-syntax
221+
221222
# build-only because tests crash in NetrcTests.testNoErrorMixedAccount
222223
# and tests use abslute file paths
223224
- run: ./android-ci.sh build swiftlang/swift-tools-support-core

android-ci.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ rm -rf .build/"${STAGING}"
3131
mkdir .build/"${STAGING}"
3232

3333
# for the common case of tests referencing their own files as hardwired resource paths
34-
cp -a Tests .build/"${STAGING}"
34+
if [[ -d Tests ]]; then
35+
cp -a Tests .build/"${STAGING}"
36+
fi
3537

3638
cd .build/
3739
cp -a debug/*.xctest "${STAGING}"

0 commit comments

Comments
 (0)