Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Issue 329253002: Revert of [Mac] Add interactive App Shim test. (Closed)

Created:
6 years, 6 months ago by please use gerrit instead
Modified:
6 years, 6 months ago
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Revert of [Mac] Add interactive App Shim test. (https://codereview.chromium.org/316493002/) Reason for revert: Appears to have broken AppShimInteractiveTest.Launch as seen in http://build.chromium.org/p/chromium.memory/builders/Mac%20ASan%2064%20Tests%20%283%29/builds/1338. Reverting. Please test on Mac with address sanitation enabled locally (or use the mac_asan try-bot) before re-landing. Sorry for the inconvenience. Original issue's description: > [Mac] Add interactive App Shim test. > > This test creates shims in the user data dir and actually starts them up and > expects them to connect to the IPC socket. > > BUG=168080 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276368 TBR=tapted@chromium.org,rsesek@chromium.org,jackhou@chromium.org NOTREECHECKS=true NOTRY=true BUG=168080

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -324 lines) Patch
D apps/app_shim/app_shim_interactive_uitest_mac.mm View 1 chunk +0 lines, -300 lines 0 comments Download
M apps/app_shim/chrome_main_app_mode_mac.mm View 1 chunk +1 line, -5 lines 0 comments Download
M chrome/browser/web_applications/web_app_mac.h View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/web_applications/web_app_mac.mm View 3 chunks +2 lines, -8 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/mac/app_mode_common.h View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/common/mac/app_mode_common.mm View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
please use gerrit instead
Created Revert of [Mac] Add interactive App Shim test.
6 years, 6 months ago (2014-06-11 15:55:54 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rouslan@chromium.org/329253002/1
6 years, 6 months ago (2014-06-11 15:57:28 UTC) #2
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-11 15:59:49 UTC) #3
commit-bot: I haz the power
Failed to apply patch for apps/app_shim/chrome_main_app_mode_mac.mm: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 6 months ago (2014-06-11 15:59:50 UTC) #4
please use gerrit instead
6 years, 6 months ago (2014-06-11 16:29:16 UTC) #5
Looks like it was already reverted before me.

On 6/11/14, commit-bot@chromium.org <commit-bot@chromium.org> wrote:
> Failed to apply patch for apps/app_shim/chrome_main_app_mode_mac.mm:
> While running patch -p1 --forward --force --no-backup-if-mismatch;
>    patching file apps/app_shim/chrome_main_app_mode_mac.mm
>    Hunk #1 FAILED at 611.
>    1 out of 1 hunk FAILED -- saving rejects to file
> apps/app_shim/chrome_main_app_mode_mac.mm.rej
>
> Patch:       apps/app_shim/chrome_main_app_mode_mac.mm
> Index: apps/app_shim/chrome_main_app_mode_mac.mm
> diff --git a/apps/app_shim/chrome_main_app_mode_mac.mm
> b/apps/app_shim/chrome_main_app_mode_mac.mm
> index
>
e887e59cb561f503759d2f222ba37a3dbcbec583..1092142733bf4aad26df875b30ec7e34c419160d
> 100644
> --- a/apps/app_shim/chrome_main_app_mode_mac.mm
> +++ b/apps/app_shim/chrome_main_app_mode_mac.mm
> @@ -611,11 +611,7 @@
>     main_message_loop.set_thread_name("MainThread");
>     base::PlatformThread::SetName("CrAppShimMain");
>
> -  // In tests, launching Chrome does nothing, and we won't get a ping
> response,
> -  // so just assume the socket exists.
> -  if (pid == -1 &&
> -      !CommandLine::ForCurrentProcess()->HasSwitch(
> -          app_mode::kLaunchedForTest)) {
> +  if (pid == -1) {
>       // Launch Chrome if it isn't already running.
>       ProcessSerialNumber psn;
>       CommandLine command_line(CommandLine::NO_PROGRAM);
>
>
> https://codereview.chromium.org/329253002/
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698