Skip to content

Conversation

@connorjclark
Copy link
Collaborator

@connorjclark connorjclark commented Dec 7, 2021

Some refactoring/documenting I wanted to do for these scripts.

  • Add a lot of file-level comments
  • Split out dependency setup from test-locally.sh into its own script
  • Run setup.sh in yarn open-devtools if running against the default .tmp DevTools checkout
  • Split out "roll and build devtools" from yarn open-devtools, should be useful for tests: run most smoke tests on devtools #13456
  • SKIP_DOWNLOADS : Add option to skip the content_shell / CDT updates

@connorjclark connorjclark requested a review from a team as a code owner December 7, 2021 23:06
@connorjclark connorjclark requested review from adamraine and removed request for a team December 7, 2021 23:06
export PYTHONPATH="${PYTHONPATH:-}:$BLINK_TOOLS_PATH/latest/third_party/typ"
fi

yarn devtools "$DEVTOOLS_PATH"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps yarn devtools should also just build devtools?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eh it might be nice to roll LH, then change DT code without building twice.

Copy link
Contributor

@adamraine adamraine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good

export PYTHONPATH="${PYTHONPATH:-}:$BLINK_TOOLS_PATH/latest/third_party/typ"
fi

yarn devtools "$DEVTOOLS_PATH"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eh it might be nice to roll LH, then change DT code without building twice.

@paulirish
Copy link
Member

generally lgtm. nice cleanup!

one related thing that's bugged me is we have 'yarn devtools' which calls 'roll-to-devtools.sh' and then within chromium webtests we have a roll-devtools.sh. i'd be happy if we renamed one of those files. no preferences on which or how tho

@connorjclark connorjclark merged commit c8ee06b into master Dec 20, 2021
@connorjclark connorjclark deleted the cdt-test-scripts branch December 20, 2021 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants