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

[hermit][open-source] Add an extremely basic test script #25

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Nov 28, 2022

  1. [hermit][open-source] Add an extremely basic test script

    Summary:
    While we wait to port our full buck testing setup to the OSS build, it's best to get at least a few integration tests running.
    
    This diff uses a bash script for the purpose, though the next step would be to replace it with Rust code, possibly using libtest directly.
    
    Test Plan:
    
    Reviewers:
    
    Subscribers:
    
    Tasks:
    
    Tags:
    rrnewton committed Nov 28, 2022
    Configuration menu
    Copy the full SHA
    cb1b2a5 View commit details
    Browse the repository at this point in the history
  2. [hermit][open-source] Turn off RCBs for github actions tests

    Summary:
    The VMs running github actions do not expose perf counters, as seen here:
    
      https://github.com/facebookexperimental/hermit/actions/runs/3560943420/jobs/5981398423
    
       WARNING: --preemption-timout requires hardware perf counters which is not supported on this host, resetting preemption-timeout to 0
    
    Therefore, we run only a limited subset of tests under hermit run *without* RCB-based preemption of threads (i.e. busy-wait breaking).
    
    Test Plan:
    
    Reviewers:
    
    Subscribers:
    
    Tasks:
    
    Tags:
    rrnewton committed Nov 28, 2022
    Configuration menu
    Copy the full SHA
    7e2f9da View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0130dca View commit details
    Browse the repository at this point in the history