Skip to content

Suggesting test cases for build verification. #10200

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: 3.0-dev
Choose a base branch
from

Conversation

PawelWMS
Copy link
Contributor

Each numbered subfolder is a slightly different scenario with multiple test cases defined in the Readme.txt files.

I'm also including a bogus-generator spec in case it may come in handy.

@PawelWMS PawelWMS force-pushed the pawelwi/build_test_cases branch from c3e57cd to 3ede89e Compare August 20, 2024 23:50
@mfrw mfrw added the 3.0-dev PRs Destined for AzureLinux 3.0 label Aug 21, 2024
Fix invalid config in case 1.
- B absent locally and upstream.

Expectation:
- A fails to build due to missing dependency.
Copy link
Contributor

Choose a reason for hiding this comment

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

We could have an option to do a fallback build of "everything" here, but agreed probably best to print a useful error to the user suggesting they trigger the package build manually once.

@@ -0,0 +1,34 @@
Dependency on a dynamically-generated provides. Similar to tests suite 2.
Copy link
Contributor

@dmcilvaney dmcilvaney Oct 23, 2024

Choose a reason for hiding this comment

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

Permutation of test 4+6:
Local copy of A dynamic BRs C
Upstream copy of A is unchanged, but does not list BR C (maybe macro environment changed?)
We have changed C locally

If we have nothing locally, I'd expect us to re-use A and avoid rebuilding
If we have a local copy of the new A, I'd expect us to now rebuild C -> A

This would check if we can learn from previous builds about unexpressed dependencies when doing cache checks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.0-dev PRs Destined for AzureLinux 3.0 Tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants