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

add README, test.properties files #2538

Merged
merged 4 commits into from
Apr 28, 2021

Conversation

mara-ber
Copy link
Contributor

@mara-ber mara-ber commented Apr 23, 2021

Fixes #2432

@mara-ber mara-ber mentioned this pull request Apr 23, 2021
10 tasks
Copy link
Contributor

@smlambert smlambert left a comment

Choose a reason for hiding this comment

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

thanks @mara-ber ! some minor changes requested

external/jacoco/README.md Outdated Show resolved Hide resolved
external/jacoco/README.md Outdated Show resolved Hide resolved
external/jacoco/dockerfile/jacoco-test.sh Outdated Show resolved Hide resolved
external/jacoco/test.properties Outdated Show resolved Hide resolved
external/jacoco/test.properties Outdated Show resolved Hide resolved
@mara-ber
Copy link
Contributor Author

I've made the requested changes,, hope it's better now

Copy link
Contributor

@smlambert smlambert left a comment

Choose a reason for hiding this comment

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

Looks good, thanks @mara-ber !

@@ -0,0 +1,22 @@
Running External Jacoco tests locally
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add following part before this Running External Jacoco tests locally

External Jacoco Tests

Jacoco tests are part of the external third-party application tests that help verify that the Adoptium binaries are good, by running a variety of Java applications inside of Docker containers. AdoptOpenJDK/openjdk-tests/Issue #172 lists the applications that we have initially targeted to best exercise the AdoptOpenJDK binaries. For each application, we choose to run a selection of their functional tests.
Jacoco test material is pulled from the Jacoco repository.


8. <make compile> (This fetches test material and compiles it, based on build.xml files in the test directories)

9.<make _jacoco_test> (When you defined BUILD_LIST to point to a directory in openjdk-tests/external, then this is a testCaseName from the playlist.xml file within the directory you chose)
Copy link
Contributor

Choose a reason for hiding this comment

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

Please also add following part as the last section:

When running these from the command-line, these tests are grouped under a make target called 'external', so 'make external' would run the entire set of tests found in the openjdk-tests/external directory. This is unadvisable! Limit what you compile and run, BUILD_LIST=external/<someSubDirectory>, and TARGET=<testCaseNameFromSubdirPlaylist>

These tests run regularly and results can be found in TRSS Third Party Application view.

Copy link
Contributor

Choose a reason for hiding this comment

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

Also please update the layout. See the example https://github.com/AdoptOpenJDK/openjdk-tests/pull/2473/files

@mara-ber
Copy link
Contributor Author

I've done the requested changes, however not totally sure about the layout

@karianna karianna added the docs label Apr 28, 2021
@karianna karianna added this to the April 2021 milestone Apr 28, 2021
@karianna karianna requested a review from sophia-guo April 28, 2021 14:07
@@ -0,0 +1,22 @@
##External Jacoco Tests
Copy link
Contributor

Choose a reason for hiding this comment

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

Please update to # External Jacoco Tests ( note there is a space between # and External. It's a format of Markdown).

Jacoco tests are part of the external third-party application tests that help verify that the Adoptium binaries are good, by running a variety of Java applications inside of Docker containers. AdoptOpenJDK/openjdk-tests/Issue #172 lists the applications that we have initially targeted to best exercise the AdoptOpenJDK binaries. For each application, we choose to run a selection of their functional tests.
Jacoco test material is pulled from the [Jacoco repository](https://github.com/jacoco/jacoco).

##Running External Jacoco tests locally
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here. There is a space between # and Running .....

@sophia-guo
Copy link
Contributor

Just two minor issues. Others looks good.

@mara-ber
Copy link
Contributor Author

they are fixed now. Thank you

@sophia-guo
Copy link
Contributor

Thanks @mara-ber

@sophia-guo sophia-guo merged commit a5ab2cd into adoptium:master Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tweetest Prep work for jacoco tests
4 participants