Граф коммитов

435 Коммитов

Автор SHA1 Сообщение Дата
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
Rolf Bjarne Kvinge efa39f6214 [introspection] Fix build problem. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge 73660edbdf [tests] Fix a few dead code compiler warnings. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge e8d1aae78b [introspection] Make the Mac version build. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge 4b60767598 [introspection] Update protocol test for watchOS. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge 5cbc9ca2fe [introspection] Verify that variadic methods aren't public API. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge ef55c7774f [introspection tests] Ignore typo checker on watchOS, there's no API available for it. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge f0b709b8bf [introspection tests] Do version checks using Xcode version instead of specific platform versions. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge f35e8b8b35 [tests] Add introspection-ios to tests.sln 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge e2c2dc1061 [monotouch-test] Move version-checking code to a shared file. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge 833ea3fc8b [xharness] Fix name of referenced projects. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge 7714d7a1cf [bindings-framework-test] Remove unused define. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge d9610117a1 [monotouch-test] Ignore NSDataTest.Https on watchOS devices, the API doesn't work. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge 343502ef52 [monotouch-test] Disable RuntimeTest.FinalizationRaceCondition/ResurrectedObjectsDisposedTest on watchOS/device, they use too much memory for the device. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge d8b4fff4e3 [monotouch-test] Disable test that uses TcpClient on watchOS, since TcpClient doesn't work on watchOS. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge 8a4178b141 [monotouch-test] Fix registrar/trampoline tests according to watchOS ABI. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge 26b1c27b81 [monotouch-test] Disable NSUbiquitousKeyValueStore test, since it doesn't work on watchOS. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge df640e61cd [monotouch-test] Disable test that uses TcpListener, since TcpListener doesn't work on watchOS. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge d06100b952 [tests] Add some diagnostics to the watchOS test runner. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge d3ab94666f [tests] Avoid running more than once simultaneously. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge e0e5824ce2 [monotouch-test] Set a timeout for UrlSessionTest so that the requests time out before the test itself. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge e623d92046 [tests] Improve the watchOS test runner a little bit. 2016-06-27 13:07:37 +02:00