File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 17
17
18
18
# Listen to tests
19
19
echo " Start listening test results on socket."
20
- nc -l 127.0.0.1 16384 2>&1 | tee results.xml &
20
+ nc -l 127.0.0.1 16384 > results.xml &
21
21
RESULTS=$!
22
22
23
- echo " Xcode version:"
24
- xcodebuild -version
25
-
26
23
# Run tests
27
24
echo " Run test app..."
28
- xcrun simctl launch " ${IOS_DEVICE} " com.contoso.test.functional &
29
- log stream --style syslog
25
+ xcrun simctl launch " ${IOS_DEVICE} " com.contoso.test.functional
30
26
31
27
# Wait results
32
28
echo " Waiting test results..."
48
44
xcrun simctl shutdown " ${IOS_DEVICE} "
49
45
50
46
# Exit with test result code (0 for success, non 0 for failure)
51
- xmllint --xpath " //*[local-name()='Counters'][@failed = 0]" results.xml > /dev/null 2>&1
47
+ xmllint --xpath " //*[local-name()='Counters'][@failed = 0]" results.xml > /dev/null 2>&1
You can’t perform that action at this time.
0 commit comments