Skip to content

Add test.sh to run certain tests in Docker#1900

Open
DavisNT wants to merge 1 commit into
InfiniTimeOrg:mainfrom
DavisNT:testscripts
Open

Add test.sh to run certain tests in Docker#1900
DavisNT wants to merge 1 commit into
InfiniTimeOrg:mainfrom
DavisNT:testscripts

Conversation

@DavisNT

@DavisNT DavisNT commented Oct 29, 2023

Copy link
Copy Markdown
Contributor

Add ability to run build-simulator and test-format tests in Docker.

Syntax with local Docker image is:

docker run --rm -it -v ${PWD}:/sources --user $(id -u):$(id -g) infinitime-build /opt/test.sh build-simulator [repo branch]
docker run --rm -it -v ${PWD}:/sources --user $(id -u):$(id -g) infinitime-build /opt/test.sh test-format [commit]

The repo and branch parameters for build-simulator specify InfiniSim version to use for the test build.
The commit parameter for test-format specify base commit/branch/tag to compare against when testing the formatting.

@github-actions

github-actions Bot commented Oct 29, 2023

Copy link
Copy Markdown

Build size and comparison to main:

Section Size Difference
text 385232B 0B
data 944B 0B
bss 22640B 0B

Run in InfiniEmu

Add ability to run build-simulator and test-format tests in Docker.
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.

1 participant