Rolf Bjarne Kvinge
cbfd83be92
[xharness] Make sure a project reference's Name matches the file name of the reference. Fixes #43181 . ( #709 )
...
Apparently XS can't find referenced project (to build them) otherwise.
It works fine when building using xbuild though.
https://bugzilla.xamarin.com/show_bug.cgi?id=43181
2016-08-30 13:32:32 -04:00
Rolf Bjarne Kvinge
a617bee08f
[xharness] Crashing is not OK. ( #680 )
2016-08-26 09:12:44 -04:00
Sebastien Pouliot
144d96999b
Merge branch 'cycle8' into xcode8
2016-08-25 14:08:23 -04:00
Rolf Bjarne Kvinge
1d4019e966
[xharness] Don't run into an infinite loop if failing to run sqlite3. ( #666 )
2016-08-25 11:08:40 -04:00
Rolf Bjarne Kvinge
451781a98f
[xharness] Don't run classic tests on wrench. ( #661 )
2016-08-25 13:11:51 +02:00
Sebastien Pouliot
9fe13aaa58
Bump for Xcode8 beta 6 ( #610 )
...
* Bump for Xcode8 beta 6
* Bump maccore (to bump maciostools) and update mlaunch download location to run tests on the simulator
2016-08-15 20:19:51 -04:00
Sebastien Pouliot
ff77f85a4c
Merge branch 'cycle8' into xcode8
2016-08-08 15:29:36 -04:00
Rolf Bjarne Kvinge
812051ee18
[xharness] Don't generate makefile targets for non-executable projects. ( #567 )
2016-08-06 10:58:03 -04:00
Rolf Bjarne Kvinge
d22c7adcda
[tests] Split mscorlib into two test assemblies. Fixes #41746 . ( #562 )
...
On watchOS we can't include all the tests for device in a single
assembly, because the native object code becomes too big.
So instead split the tests into two assemblies. Luckily this
is fairly easy for test projects, since they have few dependencies
between source files (there are some however, so source files
are grouped per directory so that files in the same directory do
not end up in different test projects). There is also some hard-coded
logic.
https://bugzilla.xamarin.com/show_bug.cgi?id=41746
2016-08-05 21:04:46 +02:00
Rolf Bjarne Kvinge
4f3af5eefb
[xharness] Simplify BCL project generation by merging iOS and tvOS logic. ( #558 )
2016-08-05 19:45:59 +02:00
Sebastien Pouliot
c99bca8695
Merge pull request #518 from spouliot/beta4-bump
...
Bump Xcode to beta 4 to run tests against the newest toolchain and SDKs
2016-08-02 13:59:24 -04:00
Rolf Bjarne Kvinge
395a497281
[xharness] Fail properly if we fail to load simulators. ( #520 )
2016-08-02 18:24:34 +02:00
Rolf Bjarne Kvinge
2c892e2b02
[xharness] Get new mlaunch for beta 4.
2016-08-02 18:15:54 +02:00
Sebastien Pouliot
308db4d1ea
Merge branch 'cycle8' into xcode8
2016-07-19 14:27:59 -04:00
Rolf Bjarne Kvinge
40137dcfb6
[xharness] Don't use variables (isSimulator) before they've been initialized. ( #433 )
...
Fixes an issue where we would try to fetch crash logs from device when
running in the simulator.
2016-07-19 14:16:02 -04:00
Sebastien Pouliot
cf27c2e7a8
Merge branch 'cycle8' into xcode8
2016-07-13 16:43:00 -04:00
Sebastien Pouliot
88bccb268d
[tests] Change location to download mlaunch, old one is not available anymore ( #352 )
2016-07-06 17:04:08 -04:00
Rolf Bjarne Kvinge
cf2d43e85c
[xharness] Create a file if it doesn't exist when creating a writer for a log file. ( #332 )
2016-06-30 02:39:33 -07:00
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
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
0636832673
[xharness] Run watchOS tests on jenkins. ( #313 )
2016-06-29 01:48:53 -07:00
Rolf Bjarne Kvinge
7e773080a9
Merge remote-tracking branch 'origin/master' into xcode8
2016-06-29 10:23:03 +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
38af4434e0
Merge pull request #256 from rolfbjarne/jenkins-ios-msbuild
...
[xharness] Add the XI MSBuild tests to the jenkins test run.
2016-06-28 15:05:25 -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
Rolf Bjarne Kvinge
cc8a1bd07b
[xharness] Fix boolean logic for skipping simulator setup. ( #305 )
2016-06-28 13:34:29 -04:00
Rolf Bjarne Kvinge
d32b7746c5
[xharness] Protect against duplicated connected/finished notifications. ( #301 )
2016-06-28 08:20:07 -07:00
Rolf Bjarne Kvinge
63c6ae06dd
[xharness] Add the XI MSBuild tests to the jenkins test run.
2016-06-28 16:05:48 +02:00
Rolf Bjarne Kvinge
c4591f44d2
[xharness] Simplify non-grouped tasks in the html report a little bit.
2016-06-28 16:05:27 +02: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
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
Rolf Bjarne Kvinge
1a1958f52d
Merge remote-tracking branch 'origin/master' into xcode8
2016-06-28 12:44:08 +02:00