facebook / openbmc

OpenBMC is an open software framework to build a complete Linux image for a Board Management Controller (BMC).
633 stars 277 forks source link

tests2: Add --tmpfs argument to ptest-runner #182

Closed peterdelevoryas closed 2 years ago

peterdelevoryas commented 2 years ago

Summary: In #177, I changed ptest-runner to unpack the rootfs in the working directory, and then forced CircleCI to cd to /mnt/ramdisk, so that the rootfs would get unpacked in a tmpfs.

Instead, we can just specify the tmpfs directory as an optional argument for this situation, and keep the old behavior for everything else. This avoids leaving the rootfs sitting around in people's working directories too.

Test Plan: Verifying CircleCI and Sandcastle ptest runs pass.

facebook-github-bot commented 2 years ago

@peterdelevoryas has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.