-
Notifications
You must be signed in to change notification settings - Fork 11
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
Compilation test #170
base: main
Are you sure you want to change the base?
Compilation test #170
Conversation
Signed-off-by: Aaron Jhaj <[email protected]>
Signed-off-by: Aaron Jhaj <[email protected]>
Build successful |
* Upgrade versions of Galasa projects inttests uses, as out of date Signed-off-by: Jade Carino <[email protected]> * Bump CICSTS dependency to 0.25.0 Signed-off-by: Jade Carino <[email protected]> * Remove GitHubIssue annotation for RSE defect as is now fixed Signed-off-by: Jade Carino <[email protected]> * Annotate Docker inttests with GitHubIssue as there is a defect causing them to fail Signed-off-by: Jade Carino <[email protected]> --------- Signed-off-by: Jade Carino <[email protected]>
Signed-off-by: Jade Carino <[email protected]>
) * uplift dependency on galasa framework to 0.26.0 instead of 0,.25.0 Signed-off-by: Mike Cobbett <[email protected]> * bump up versions to match the uber obr manually Signed-off-by: Mike Cobbett <[email protected]> --------- Signed-off-by: Mike Cobbett <[email protected]>
…resource available (#175) Signed-off-by: Jade Carino <[email protected]>
…sts into compilation-test
Signed-off-by: Jade Carino <[email protected]>
Build successful |
@@ -57,6 +57,10 @@ private Path setupSimPlatform() throws ResourceUnavailableException, IOException | |||
refactorSimplatform(simplatformParent); | |||
|
|||
outputFiles("simplatform-refactored", simplatformParent, false); | |||
|
|||
|
|||
makeGradleProperties(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think what this test is doing, is taking files that already exist in the Simplatform repository on Github and putting them in a new file structure for a test to use. As the gradle.properties file you are trying to create does not exist in Github, you will have to create it then allow it to be copied over like the other folders are. Similar to what is happening on line 53.
- Remove this method and call a method on like 54 called 'createParentGradleProperties(simplatformParent)' and implement this method doing a similar thing to what createParentSettings does, but for your gradle.properties file.
private void makeGradleProperties() throws IOException{ | ||
String gradleProperties = "gradle.properties"; | ||
String obr = "sourceMaven=https://development.galasa.dev/main/maven-repo/obr/"; | ||
Path gradlePropertiesFile = testRunDirectory.resolve("/.gradle/" + gradleProperties); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move this same logic into a different method called createParentGradleProperties as mentioned in my last comment.
No description provided.