Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Run Device Tests for UWP #149

Merged
merged 6 commits into from
Apr 4, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Pass IP/Port to UWP Device Test runner differently
For some reason UWP shaves off > 1 querystring parameter on the invoked url, so passing it as the host/path instead.
  • Loading branch information
Redth committed Apr 4, 2018
commit a50fb2573c6d3520b7607a9e22e609c092382749
3 changes: 2 additions & 1 deletion DeviceTests/build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,8 @@ Task ("test-uwp-emu")

// Launch the app
Information("Running appx: {0}", appxBundlePath);
System.Diagnostics.Process.Start($"caboodle-device-tests://{TCP_LISTEN_HOST}_{TCP_LISTEN_PORT}");
var ip = TCP_LISTEN_HOST.Replace(".", "-");
System.Diagnostics.Process.Start($"caboodle-device-tests://{ip}_{TCP_LISTEN_PORT}");

// Wait for the test results to come back
Information("Waiting for tests...");
Expand Down