File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
Bluepill-runner/Bluepill-runner Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -48,12 +48,13 @@ + (instancetype)appWithConfig:(BPConfiguration *)config withError:(NSError *__au
48
48
NSLog (@" There is .xctest file under %@ " , xcTestsPath);
49
49
}
50
50
51
-
52
51
NSArray *unitTestFiles = [self testFilesFromDirectory: xcTestsPath isUITestBundle: NO withError: error];
53
52
if (unitTestFiles) {
54
53
[allUnitTestFiles addObjectsFromArray: unitTestFiles];
55
54
}
56
- if (error && *error) {return nil ;}
55
+ if (error && *error) {
56
+ [BPUtils printInfo: INFO withString: @" No unit test detected - %@ " , [*error localizedDescription ]];
57
+ }
57
58
58
59
// Read ui test bundles.
59
60
if (config.testRunnerAppPath ) {
@@ -66,6 +67,9 @@ + (instancetype)appWithConfig:(BPConfiguration *)config withError:(NSError *__au
66
67
[allUITestFiles addObjectsFromArray: uiTestFiles];
67
68
}
68
69
}
70
+ if (error && *error) {
71
+ [BPUtils printInfo: INFO withString: @" No UI test bundle detected %@ " , [*error localizedDescription ]];
72
+ }
69
73
}
70
74
71
75
// Handle additional test bundles (assumption - unit test only, TO BE FIXED)
Original file line number Diff line number Diff line change @@ -64,11 +64,11 @@ bluepill_build()
64
64
-workspace Bluepill.xcworkspace \
65
65
-scheme bluepill \
66
66
-configuration Release \
67
- -derivedDataPath " build/" | tee results .txt | $XCPRETTY
67
+ -derivedDataPath " build/" | tee result .txt | $XCPRETTY
68
68
69
69
test $? == 0 || {
70
70
echo Build failed
71
- cat results .txt
71
+ cat result .txt
72
72
exit 1
73
73
}
74
74
test -x build/Build/Products/Release/bluepill || {
@@ -89,7 +89,7 @@ bluepill_build_sample_app()
89
89
90
90
test $? == 0 || {
91
91
echo Build failed
92
- cat results .txt
92
+ cat result .txt
93
93
exit 1
94
94
}
95
95
set +o pipefail
@@ -135,7 +135,7 @@ bluepill_integration_tests()
135
135
136
136
if ! grep ' \*\* TEST SUCCEEDED \*\*' result.txt; then
137
137
echo ' Test failed'
138
- echo See results .txt for details
138
+ echo See result .txt for details
139
139
exit 1
140
140
fi
141
141
}
You can’t perform that action at this time.
0 commit comments