1
- tests : tests_iOS tests_MacOS
2
-
3
1
iOS_VERSION := 12.1
4
2
3
+ SCHEME := "RMQClient"
4
+
5
5
RABBITMQCTL := /usr/local/sbin/rabbitmqctl
6
6
RABBITMQ_PLUGINS := /usr/local/sbin/rabbitmq-plugins
7
7
@@ -11,39 +11,26 @@ tests_ios: tests_iOS
11
11
12
12
tests_macos : tests_MacOS
13
13
14
- tests_with_tls : tests_iOS_with_tls tests_macos_with_tls lint
15
-
16
14
tests_iOS : test_dependencies
17
15
set -o pipefail && \
18
16
xcodebuild test \
19
17
-project RMQClient.xcodeproj \
20
- -scheme RMQClient \
21
- -destination ' platform=iOS Simulator,name=iPhone XR,OS=$(iOS_VERSION)' | \
22
- xcpretty
23
-
24
- tests_iOS_with_tls : test_dependencies
25
- set -o pipefail && \
26
- xcodebuild test \
27
- -project RMQClient.xcodeproj \
28
- -scheme " RMQClient with TLS tests" \
18
+ -scheme " ${SCHEME} " \
29
19
-destination ' platform=iOS Simulator,name=iPhone XR,OS=$(iOS_VERSION)' | \
30
20
xcpretty
31
21
32
22
tests_MacOS : test_dependencies
33
23
set -o pipefail && \
34
24
xcodebuild test \
35
25
-project RMQClient.xcodeproj \
36
- -scheme RMQClient \
26
+ -scheme " ${SCHEME} " \
37
27
-destination ' platform=OS X,arch=x86_64' | \
38
28
xcpretty
39
29
40
- tests_MacOS_with_tls : test_dependencies
41
- set -o pipefail && \
42
- xcodebuild test \
43
- -project RMQClient.xcodeproj \
44
- -scheme " RMQClient with TLS tests" \
45
- -destination ' platform=OS X,arch=x86_64' | \
46
- xcpretty
30
+ tests_with_tls :
31
+ ${MAKE} tests_ios SCHEME=" RMQClient with TLS tests"
32
+ ${MAKE} tests_macos SCHEME=" RMQClient with TLS tests"
33
+ ${MAKE} lint
47
34
48
35
test_dependencies : bootstrap
49
36
gem list -i xcpretty || gem install xcpretty
0 commit comments