Skip to content

Expose test scripts for minimal/extended tests for mmtk-core #266

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

Merged
merged 7 commits into from
Jan 25, 2024

Conversation

qinsoon
Copy link
Member

@qinsoon qinsoon commented Jan 18, 2024

This PR removes unused workflow_dispatch for mmtk-core (see mmtk/mmtk-core#983), and adds a script to run minimal openjdk tests.

@qinsoon qinsoon marked this pull request as ready for review January 19, 2024 06:05
@qinsoon qinsoon requested a review from wks January 19, 2024 06:05
Comment on lines 20 to 21
export MMTK_PLAN=SemiSpace
runbms_dacapo2006_with_heap_multiplier fop 4
Copy link
Contributor

@wks wks Jan 19, 2024

Choose a reason for hiding this comment

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

If the plan is really intended to be set for one command, only, we can use the following syntax. In this way, we will not need to unset the env var again.

Suggested change
export MMTK_PLAN=SemiSpace
runbms_dacapo2006_with_heap_multiplier fop 4
MMTK_PLAN=SemiSpace runbms_dacapo2006_with_heap_multiplier fop 4

Copy link
Member Author

Choose a reason for hiding this comment

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

Right.

Copy link
Contributor

@wks wks left a comment

Choose a reason for hiding this comment

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

LGTM, but we can use the same trick for MMTK_VO_BIT, too.

Comment on lines 34 to 36
export MMTK_VO_BIT=1
$cur/ci-build.sh
unset MMTK_VO_BIT=1
Copy link
Contributor

Choose a reason for hiding this comment

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

We can use the same trick here, too.

Suggested change
export MMTK_VO_BIT=1
$cur/ci-build.sh
unset MMTK_VO_BIT=1
MMTK_VO_BIT=1 $cur/ci-build.sh

@qinsoon qinsoon changed the title Allow mmtk-core to test OpenJDK with workflow_dispatch Expose test scripts for minimal/extended tests for mmtk-core Jan 20, 2024
@mmtkgc-bot mmtkgc-bot merged commit b4ca3aa into mmtk:master Jan 25, 2024
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.

3 participants