Remove AppleScript from headless tests

This commit is contained in:
Maurice Parker 2019-10-11 12:37:49 -05:00
parent 401da6124d
commit 7c563e4482
4 changed files with 9 additions and 2 deletions

View File

@ -37,4 +37,5 @@ jobs:
ENCRYPTION_SECRET: ${{ secrets.ENCRYPTION_SECRET }} ENCRYPTION_SECRET: ${{ secrets.ENCRYPTION_SECRET }}
KEY_SECRET: ${{ secrets.KEY_SECRET }} KEY_SECRET: ${{ secrets.KEY_SECRET }}
SCHEME: ${{ matrix.scheme }} SCHEME: ${{ matrix.scheme }}
HEADLESS_TEST: YES
run: buildscripts/ci-build.sh run: buildscripts/ci-build.sh

View File

@ -6,6 +6,8 @@
// Copyright © 2018 Ranchero Software. All rights reserved. // Copyright © 2018 Ranchero Software. All rights reserved.
// //
#if !HEADLESS_TEST
import XCTest import XCTest
class AppleScriptXCTestCase: XCTestCase { class AppleScriptXCTestCase: XCTestCase {
@ -65,3 +67,5 @@ class AppleScriptXCTestCase: XCTestCase {
return usrfDictionary["script_result"] return usrfDictionary["script_result"]
} }
} }
#endif

View File

@ -6,6 +6,8 @@
// Copyright © 2018 Olof Hellman. All rights reserved. // Copyright © 2018 Olof Hellman. All rights reserved.
// //
#if !HEADLESS_TEST
import XCTest import XCTest
class ScriptingTests: AppleScriptXCTestCase { class ScriptingTests: AppleScriptXCTestCase {
@ -100,4 +102,4 @@ class ScriptingTests: AppleScriptXCTestCase {
} }
} }
#endif

View File

@ -1,4 +1,4 @@
DEVELOPMENT_TEAM = 9C84TZ7Q6Z HEADLESS_TEST = $(HEADLESS_TEST)
CODE_SIGN_IDENTITY = - CODE_SIGN_IDENTITY = -
CODE_SIGN_STYLE = Automatic CODE_SIGN_STYLE = Automatic