Rolf Bjarne Kvinge
74312ec77c
[xharness] Collect and report crash reports for Xamarin.Mac tests. ( #316 )
2016-06-29 09:21:03 -07:00
Rolf Bjarne Kvinge
905a6bc03c
[runtime] Fix watchOS debugging. ( #318 )
...
Don't call any COOP macros when configuring the debugger/profiler.
This occurs before the root domain has been created, which means
that the current thread can't be attached.
Since the COOP macros assert that the thread is attached,
we end up aborting:
Jun 29 13:35:56 Rolfs-Mac-Pro monotouchtest[97569]: Cannot enter GC safe region if the thread is not attached
Thread 2 Crashed:
0 libsystem_kernel.dylib 0x08753572 __pthread_kill + 10
1 libsystem_pthread.dylib 0x0871b654 pthread_kill + 101
2 libsystem_c.dylib 0x084a962d abort + 156
3 com.xamarin.monotouch-test.watchkitapp.watchkitextension 0x0033901f monoeg_log_default_handler + 159
4 com.xamarin.monotouch-test.watchkitapp.watchkitextension 0x00339087 monoeg_g_log + 103 (goutput.c:114)
5 com.xamarin.monotouch-test.watchkitapp.watchkitextension 0x00329e00 check_info + 96 (mono-threads-coop.c:93)
6 com.xamarin.monotouch-test.watchkitapp.watchkitextension 0x00329b3d mono_threads_enter_gc_safe_region_unbalanced_with_info + 45 (mono-threads-coop.c:230)
7 com.xamarin.monotouch-test.watchkitapp.watchkitextension 0x00329a7a mono_threads_enter_gc_safe_region_with_info + 26 (mono-threads-coop.c:204)
8 com.xamarin.monotouch-test.watchkitapp.watchkitextension 0x00329a4b mono_threads_enter_gc_safe_region + 27 (mono-threads-coop.c:193)
9 com.xamarin.monotouch-test.watchkitapp.watchkitextension 0x0035e2d2 recv_uninterrupted(int, void*, int) + 50 (monotouch-debug.m:402)
10 com.xamarin.monotouch-test.watchkitapp.watchkitextension 0x0035e531 monotouch_process_connection(int) + 193 (monotouch-debug.m:828)
11 com.xamarin.monotouch-test.watchkitapp.watchkitextension 0x0035e0cf monotouch_connect_wifi(NSMutableArray*) + 2815 (monotouch-debug.m:604)
12 com.xamarin.monotouch-test.watchkitapp.watchkitextension 0x0035cb42 monotouch_configure_debugging + 3858 (monotouch-debug.m:344)
13 com.xamarin.monotouch-test.watchkitapp.watchkitextension 0x00351d37 -[CocoaThreadInitializer entryPoint:] + 119 (shared.m:131)
14 com.apple.Foundation 0x01d30259 -[NSThread main] + 76
15 com.apple.Foundation 0x01de5484 __NSThread__start__ + 1346
16 libsystem_pthread.dylib 0x08718780 _pthread_body + 138
17 libsystem_pthread.dylib 0x087186f6 _pthread_start + 155
18 libsystem_pthread.dylib 0x08715f7a thread_start + 34
2016-06-29 08:45:43 -07:00
Rolf Bjarne Kvinge
610ef84d37
[xharness] Fix result propagation. ( #321 )
2016-06-29 07:50:02 -07:00
Rolf Bjarne Kvinge
1080164506
[jenkins] Fail if test run fails. ( #245 )
...
* [jenkins] Fail if test run fails.
* [xharness] Fix success check.
2016-06-29 03:23:26 -07:00
Rolf Bjarne Kvinge
09a1dae45d
Bump maccore to get fix for #41329 . ( #314 )
...
https://bugzilla.xamarin.com/show_bug.cgi?id=41329
2016-06-29 02:23:24 -07:00
Rolf Bjarne Kvinge
0636832673
[xharness] Run watchOS tests on jenkins. ( #313 )
2016-06-29 01:48:53 -07:00
Rolf Bjarne Kvinge
2317c8c1e2
Merge pull request #310 from rolfbjarne/jenkins-ios-msbuild-master
...
[xharness] Add the XI MSBuild tests to the jenkins test run.
2016-06-28 23:17:08 -07:00
Rolf Bjarne Kvinge
93e100688d
[msbuild] Don't Assert.Ignore in ctors, it ends up as failures.
2016-06-29 00:06:43 +02:00
Rolf Bjarne Kvinge
a66fdf2738
[tests] Skip MSBuild device tests when device builds are disabled.
2016-06-29 00:06:39 +02:00
Rolf Bjarne Kvinge
dff594bb5a
[xharness] Add the XI MSBuild tests to the jenkins test run.
2016-06-29 00:06:35 +02:00
Rolf Bjarne Kvinge
d91258fb32
[xharness] Simplify non-grouped tasks in the html report a little bit.
2016-06-29 00:06:31 +02:00
Rolf Bjarne Kvinge
464aab3789
[monotouch-test] Fix ContactStoreTest.GetUnifiedContacts to not completely ignore the second half of the test. ( #307 )
2016-06-28 15:04:36 -07:00
Rolf Bjarne Kvinge
5b3fcd002f
[monotouch-test] Fix ContactStoreTest for watchOS. ( #306 )
2016-06-28 15:00:53 -07:00
Rolf Bjarne Kvinge
fb607bef03
[xharness] Rename variable to fix compiler warning. ( #308 )
...
Fixes this warning:
SimpleHttpListener.cs(12,8): warning CS0108: `xharness.SimpleHttpListener.connected' hides inherited member `xharness.SimpleListener.connected'. Use the new keyword if hiding was intended
2016-06-28 17:13:36 -04:00
Manuel de la Pena
19cceab4d5
[mtouch] Reenable the symbolication to allow debugging and update its implementation. ( #284 )
2016-06-28 14:35:05 -04:00
Rolf Bjarne Kvinge
cc8a1bd07b
[xharness] Fix boolean logic for skipping simulator setup. ( #305 )
2016-06-28 13:34:29 -04:00
Rolf Bjarne Kvinge
d3b8de52d6
[monotouch-test] Try to fix UrlSessionTest.CreateDataTaskAsync by uploading using POST. ( #304 )
...
Also use https instead of http to avoid a network roundtrip
(since http://www.xamarin.com just redirects to https).
This will hopefully fix this random test failure:
[FAIL] UrlSessionTest.CreateDataTaskAsync : CreateUploadTask a
2016-06-28 13:33:59 -04:00
Sebastien Pouliot
67470d439c
[mtouch] Quote the .dylib used for incremental builds. Fixes #42006 ( #303 )
...
Fix MT3001 AOT errors due to incorrect paths.
https://bugzilla.xamarin.com/show_bug.cgi?id=42006
2016-06-28 12:51:05 -04:00
Rolf Bjarne Kvinge
77954eac92
[tests] Update the F# watchos runner to match the C# version. ( #300 )
2016-06-28 08:20:44 -07:00
Rolf Bjarne Kvinge
8c5b446f82
[msbuild] Reorder imports for F# watchOS extensions so that it compiles correctly. ( #299 )
...
Otherwise extensions would just compile like a normal .NET class library
project and produce a .dll.
2016-06-28 08:20:26 -07:00
Rolf Bjarne Kvinge
d32b7746c5
[xharness] Protect against duplicated connected/finished notifications. ( #301 )
2016-06-28 08:20:07 -07:00
Rolf Bjarne Kvinge
3bf7b92d88
[xharness] Give permissions to watchkit apps as well. ( #296 )
...
* [xharness] Only execute sqlite3 once.
* [xharness] Give permissions to watchkit apps as well.
2016-06-28 07:04:10 -07:00
Rolf Bjarne Kvinge
0d2d6e36b1
[xharness] Don't prepare simulator for tests that didn't build. ( #297 )
2016-06-28 07:03:40 -07:00
Rolf Bjarne Kvinge
1eaaa2e17a
Bump watch/mono to HEAD to get the latest and greatest. ( #292 )
2016-06-28 05:53:35 -07:00
Rolf Bjarne Kvinge
52af5a54d0
Merge pull request #295 from rolfbjarne/xharness-backport-from-xcode8
...
[xharness] Merge xcode8 changes back to master.
2016-06-28 05:53:00 -07:00
Rolf Bjarne Kvinge
101a1c5e6a
Fix invalid solution file. ( #294 )
...
Strangely Xamarin Studio doesn't complain about the duplicate 'EndProject' lines.
2016-06-28 04:45:11 -07:00
Rolf Bjarne Kvinge
613fb2118c
[jenkins] Skip mmptest to see if it'll speed up the test run on jenkins. ( #248 )
2016-06-28 13:05:00 +02:00
Rolf Bjarne Kvinge
455c741820
[xharness] Try to bump the launch timeout to 3 minutes.
2016-06-28 13:04:56 +02:00
Rolf Bjarne Kvinge
85d94face2
[xharness] Improve logging.
...
Make sure as much as possible is written to the logs, and not stdout.
Also copy an extra 1024 bytes when fetching the system log (and continue
capturing a while after stopped, since there may be unflushed system log
data in memory).
2016-06-28 13:04:52 +02:00
Rolf Bjarne Kvinge
c355cf91be
[xharness] Refactor how we do simulator configuration.
...
Split out the code to prepare the simulator from the AppRunner class,
which is now just handling the logic required for each test run.
This way it's easier to handle simulator preparation for multiple
test runs with the same simulator.
Also revamp logging to avoid printing directly to the console, but
instead use the logging classes that permit redirecting logging
to a file. This makes the html report show better logging.
2016-06-28 13:04:47 +02:00
Rolf Bjarne Kvinge
61485522d4
[xharness] Always setup/cleanup tvOS test runs.
...
Something strange is going on on the bots where only the first tvOS
test run actually launches the test app successfully.
2016-06-28 13:04:41 +02:00
Rolf Bjarne Kvinge
a59a762e84
[xharness] Download mlaunch if we don't have a local copy.
2016-06-28 13:04:10 +02:00
Rolf Bjarne Kvinge
1e6be7f547
[xharness] Add a few more variables to control what to include in a test run.
2016-06-28 13:02:21 +02:00
Rolf Bjarne Kvinge
c98cc1dc19
[xharness] Ignore ignored tests when deciding which color to use for a group of tests.
2016-06-28 13:02:16 +02:00
Rolf Bjarne Kvinge
1a48c36efd
[xharness] When capturing the system log for simulator runs, don't capture contents of the log from before our test run starts.
2016-06-28 13:02:12 +02:00
Rolf Bjarne Kvinge
fa33176ba8
[xharness] Cleanup must be done by the last test, not the first test.
2016-06-28 13:02:09 +02:00
Rolf Bjarne Kvinge
93f0b92eac
[xharness] iPhone 4s doesn't exist anymore, use iPhone 5 instead.
2016-06-28 13:02:03 +02:00
Rolf Bjarne Kvinge
c09c74dba5
[xharness] Improve html report a bit when some tests are ignored.
2016-06-28 12:59:54 +02:00
Rolf Bjarne Kvinge
ab7bd56e63
[xharness] Add a few variables to control if to include iOS/Mac tests in jenkins test mode.
2016-06-28 12:59:50 +02:00
Rolf Bjarne Kvinge
a7b20c1a43
[xharness] Fix emptyness check.
2016-06-28 12:59:42 +02:00
Rolf Bjarne Kvinge
3a825fc5e0
[xharness] Improve watching objects in the debugger.
2016-06-28 12:59:36 +02:00
Sebastien Pouliot
ddc3a56e68
[tests][harness] Add kTCCServiceMediaLibrary to avoid privacy popup ( #230 )
...
Running some API without permission can crash some tests.
2016-06-28 12:59:25 +02:00
Alex Soto
2b51bf257b
[NS(mutable)Dictionary] Fix bug 41343 - NSDictionary<TKey, TValue>.FromObjectsAndKeys keys and values are twisted up ( #281 )
...
https://bugzilla.xamarin.com/show_bug.cgi?id=41343
* NSDictionary<TKey, TValue>.FromObjectsAndKeys keys and values are twisted up
* Fixed it in XAMCORE_4_0
* Obsoleted the 2 existing methods
* introduced FromObjectsAndKeys (TValue [] objects, TKey [] keys, nint count)
* Added unit tests with different types for TKey and TValue
2016-06-27 20:38:14 -04:00
Rolf Bjarne Kvinge
b636444705
Bump Touch.Unit to try and get stability fix for HttpTextWriter. ( #287 )
2016-06-27 15:49:36 -04:00
Jeffrey Stedfast
518b8007cc
[msbuild] Properly archive projects containing WatchOS2 apps ( #268 )
...
Fixes bug #41762
2016-06-27 15:22:45 -04:00
Jeffrey Stedfast
fa511d0d77
[msbuild] Allow customization of IPA package directory & path ( #285 )
...
Fixes bug #41963
2016-06-27 14:39:38 -04:00
Vincent Dondain
afa7e8d976
[msbuild] Import Xamarin.iOS.Analysis.targets ( #283 )
...
Update reference to maccore which includes
the bump to an update xamarin-analysis and
the corresponding Makefile changes.
2016-06-27 14:07:58 -04:00
Rolf Bjarne Kvinge
57dec55006
Merge pull request #264 from rolfbjarne/watchos-monotouch-test
...
[tests] Fix many watchOS tests issues.
2016-06-27 09:43:26 -07:00
Rolf Bjarne Kvinge
08a053c98f
Bump maccore to get fix for bug #41655 . ( #282 )
...
https://bugzilla.xamarin.com/show_bug.cgi?id=41655
2016-06-27 08:15:32 -07:00
Rolf Bjarne Kvinge
399501c837
[introspection] Implement a few Xcode checks for Mac.
2016-06-27 13:07:37 +02:00