Skip to content

Conversation

@brizental
Copy link
Contributor

@brizental brizental commented Oct 8, 2021

Pull Request checklist

  • Quality: Make sure this PR builds and runs cleanly.
    • Inside the glean/ folder, run:
      • npm run test Runs all tests
      • npm run lint Runs all linters
  • Tests: This PR includes thorough tests or an explanation of why it does not
  • Changelog: This PR includes a changelog entry to CHANGELOG.md or an explanation of why it does not need one
  • Documentation: This PR includes documentation changes, an explanation of why it does not need that or a follow-up bug has been filed to do that work

@brizental brizental changed the title 1708194 qt tests Bug 1708194 - Write tests on Qt sample and run them on CI Oct 8, 2021
Our only Qt consumer is in C++ so it makes more sense to have it like
this. I decided against keeping both sample to minimize amount of code
we need to maintain.
1. Expose ErrorType
2. Fix version of LocalStorage plugin
3. Fix the way to access the lib from inside the shutdown file
4. Expose testRestGlean
@brizental
Copy link
Contributor Author

brizental commented Oct 8, 2021

We can ignore the linter error which is unrelated to this PR. It is related to audit issues with dependencies of our dependencies (test-only). There needs to be some investigation on how to approach that.

Bug filed: https://bugzilla.mozilla.org/show_bug.cgi?id=1734888

@brizental brizental marked this pull request as ready for review October 8, 2021 15:33
@auto-assign auto-assign bot requested a review from badboy October 8, 2021 15:33
@brizental brizental changed the title Bug 1708194 - Write tests on Qt sample and run them on CI Bug 1708194, 1734731 - Write tests on Qt sample and run them on CI Oct 8, 2021
qtbase5-dev qt5-default qt5-qmake qttools5-dev-tools qtdeclarative5-dev \
qtdeclarative5-dev-tools qml-module-qttest qml-module-qtquick2 \
qml-module-qtquick-localstorage qml-module-qtquick-controls2
sudo apt-get install xvfb
Copy link
Member

Choose a reason for hiding this comment

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

Why's that separate and not part of the first apt-get install?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Eh, no reason really. It is not direcly Qt related, and I added it at a different time during development.

Co-authored-by: Jan-Erik Rediger <badboy@archlinux.us>
@brizental brizental merged commit 70b6ae5 into mozilla:main Oct 11, 2021
@brizental brizental deleted the 1708194-qt-tests branch October 11, 2021 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants