Skip to content

Commit

Permalink
Merge pull request #70 from sophia-guo/PR
Browse files Browse the repository at this point in the history
Remove check if openjdk-tests/openjdk-tests directory available
  • Loading branch information
Shelley Lambert authored Feb 17, 2021
2 parents fe08570 + 8ac4df1 commit 23b3c70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3381,10 +3381,7 @@ function runaqaTest(version, jdksource, buildList, target, customTarget, openjdk
process.env.BUILD_LIST = buildList;
if (!('TEST_JDK_HOME' in process.env))
process.env.TEST_JDK_HOME = getTestJdkHome(version, jdksource);
const workspace = process.env['GITHUB_WORKSPACE'] || '';
if (!(workspace.includes('/openjdk-tests/openjdk-tests') || workspace.includes('\openjdk-tests\openjdk-tests'))) {
yield getOpenjdkTestRepo(openjdktestRepo);
}
yield getOpenjdkTestRepo(openjdktestRepo);
yield runGetSh(tkgRepo);
const options = {};
let myOutput = '';
Expand Down
5 changes: 1 addition & 4 deletions src/runaqa.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,8 @@ export async function runaqaTest(
setSpec()
process.env.BUILD_LIST = buildList
if (!('TEST_JDK_HOME' in process.env)) process.env.TEST_JDK_HOME = getTestJdkHome(version, jdksource)
const workspace = process.env['GITHUB_WORKSPACE'] || ''
if (!(workspace.includes('/openjdk-tests/openjdk-tests') || workspace.includes('\openjdk-tests\openjdk-tests'))) {
await getOpenjdkTestRepo(openjdktestRepo)
}

await getOpenjdkTestRepo(openjdktestRepo)
await runGetSh(tkgRepo)

const options: ExecOptions = {}
Expand Down

0 comments on commit 23b3c70

Please sign in to comment.