xref: /aosp_15_r20/external/mesa3d/meson_to_hermetic_test/README.md (revision 6104692788411f58d303aa86923a9ff6ecaded22)
1# meson_to_hermetic_test: unit tests for meson_to_hermetic
2
3NOTE: This README assumes your terminal is located in the root directory: `mesa3d/`
4
5## Environment Setup
6IGNORE STEPS 1-3 if your venv has already been set up previously and your terminal is `source` to the venv.
71. Run: `cd meson_to_hermetic`
82. Run `./setup-venv.sh`
93. Run `source venv/bin/activate`
104. Navigate to `mesa3d/` directory.
11
12## Running Tests
13See official [py-unittest docs](https://docs.python.org/3/library/unittest.html#command-line-interface) for command line usage.
14Here are some example commands that can be ran:
15```bash
16# This will run all tests within meson_impl_unittest module
17python -m unittest meson_to_hermetic_test/meson_impl_unittest.py
18```
19