Hello,
I've made a small code change to fix a bug in devtools and now I'm trying to run web tests to make sure I didn't break anything. I'm on a mac 11.2.3, xcode version 12.4 (12D4e).
I've been following this document.
https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/testing/web_tests.mdAt the initial setup, it says
"On
Mac, you probably want to strip the content_shell binary before starting the tests. If you don‘t, you’ll have 5-10 running concurrently, all stuck being examined by the OS crash reporter. This may cause other failures like timeouts where they normally don't occur.
strip ./xcodebuild/{Debug,Release}/
content_shell.app/Contents/MacOS/content_shell"
I tried running the command from chromium/src, but I get an error
" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: can't open file: ./xcodebuild/Debug/
content_shell.app/Contents/MacOS/content_shell (No such file or directory)"
I downloaded chromium and devtools frontend to an external harddrive and am using the integrated checkout, as per this doc:
https://chromium.googlesource.com/devtools/devtools-frontend/+/HEAD/docs/workflows.mdI'm wondering if because I have chromium on an external that maybe the file path for this "strip ./xcodebuild/{Debug,Release}/
content_shell.app/Contents/MacOS/content_shell" command is wrong. I tried running the web tests without it and they timeout over and over again for up to 24 hours!
If anyone could point out what I'm doing wrong, I would sure appreciate it!