-
Notifications
You must be signed in to change notification settings - Fork 6k
Control test timeouts based on debugger status or command line flags. #16375
Conversation
testing/debugger_detection.cc
Outdated
| namespace flutter { | ||
| namespace testing { | ||
|
|
||
| #if OS_MACOSX |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: by moving the preprocessor guards inside the definition for GetDebuggerStatus you are removing duplicate code and reducing the difference between platforms. For example, if you changed the signature of the function while you are working on linux, you might forget to update it for mac since it won't be compiled as is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
testing/debugger_detection.cc
Outdated
| // From Technical Q&A QA1361 Detecting the Debugger | ||
| // https://developer.apple.com/library/archive/qa/qa1361/_index.html | ||
| DebuggerStatus GetDebuggerStatus() { | ||
| int mib[4]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably should avoid abbreviations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
chinmaygarde
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated. PTAL.
testing/debugger_detection.cc
Outdated
| // From Technical Q&A QA1361 Detecting the Debugger | ||
| // https://developer.apple.com/library/archive/qa/qa1361/_index.html | ||
| DebuggerStatus GetDebuggerStatus() { | ||
| int mib[4]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
testing/debugger_detection.cc
Outdated
| namespace flutter { | ||
| namespace testing { | ||
|
|
||
| #if OS_MACOSX |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
d603daa to
daa6716
Compare
daa6716 to
38528b7
Compare
fa28978 to
428a390
Compare
* 48d64c1 update hash code logic on the web (flutter/engine#16624) * 110c1c9 Lift restriction that embedders may not trample the render thread OpenGL context in composition callbacks. (flutter/engine#16653) * ca6165f Roll src/third_party/skia c1bb9cba16be..7281a8623799 (9 commits) (flutter/engine#16665) * c264e1c Roll src/third_party/dart 999eeea5a3ff..3883c6070942 (5 commits) (flutter/engine#16666) * 1cd1304 Control test timeouts based on debugger status or command line flags. (flutter/engine#16375) * 9309ff5 Roll src/third_party/skia 7281a8623799..fe6fe6c5a8a8 (7 commits) (flutter/engine#16667) * d03582d URL-encode asset URLs so assets are properly loaded (flutter/engine#16630) * 40e3ab1 Roll fuchsia/sdk/core/mac-amd64 from 06MUz... to _jvYk... (flutter/engine#16668) * ef9e7b1 Revert "Lift restriction that embedders may not trample the render thread OpenGL context in composition callbacks. (#16653)" (flutter/engine#16674) * 16eeac5 Roll src/third_party/skia fe6fe6c5a8a8..799a23cf0602 (1 commits) (flutter/engine#16669) * c796205 Roll fuchsia/sdk/core/linux-amd64 from 2W9Xr... to VHyDa... (flutter/engine#16670) * 4f4a1d5 Roll src/third_party/dart 3883c6070942..c11c0ae3fdca (9 commits) (flutter/engine#16673) * 80f73ee Roll src/third_party/skia 799a23cf0602..d0d033a12556 (3 commits) (flutter/engine#16675) * 151688c Roll src/third_party/skia d0d033a12556..a037445e07a7 (4 commits) (flutter/engine#16676) * 8e82311 Roll src/third_party/skia a037445e07a7..c5ff41f2976e (1 commits) (flutter/engine#16677) * 84dc383 Roll src/third_party/dart c11c0ae3fdca..707ecda05e14 (1 commits) (flutter/engine#16678)
…e flags. (flutter#16375)" This reverts commit e449472.
No description provided.