Skip to content
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

Added custom system tests repo and branch input option #102

Merged
merged 3 commits into from
Oct 6, 2021

Conversation

Vindiya
Copy link
Contributor

@Vindiya Vindiya commented Oct 1, 2021

fixes #93

src/runaqa.ts Outdated
@@ -57,6 +58,9 @@ export async function runaqaTest(
await exec.exec(
`${sevenzexe} e ${dependents} -o${process.env.GITHUB_WORKSPACE}/aqa-tests/TKG/lib`
)
if(buildList.includes('system') || buildList.includes('openjdk')) {
Copy link
Contributor

Choose a reason for hiding this comment

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

openjdk tests is a different category from system. So we can just move this function call getAqaSystemTestsRepo to the following block https://github.com/adoptium/run-aqa/pull/102/files#diff-22673e27ee79038a5688a185a2cd7775b8d2a63bfb6c4b449d1d5195cc272faaR65

if (buildList.includes('system')) {

src/runaqa.ts Outdated
if (aqasystemtestsRepo.length !== 0) {
repoBranch = parseRepoBranch(aqasystemtestsRepo)
}
await exec.exec(
Copy link
Contributor

Choose a reason for hiding this comment

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

For Aqasystemtest the only thing we need is to export the repo and branch.

process.env.ADOPTOPENJDK_SYSTEMTEST_REPO = repoBranch[0]
process.env.ADOPTOPENJDK_SYSTEMTEST_BRANCH = repoBranch[1]

@smlambert
Copy link
Contributor

Waiting for checks to complete...

Copy link
Contributor

@sophia-guo sophia-guo left a comment

Choose a reason for hiding this comment

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

LGTM

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.

Add option to pass in adoptium aqa-systemtest repo and branch
3 participants