|
PER Firmware
|
Functions | |
| compile_case (compiler, include_dir, filename) | |
| compile_environment () | |
| test_compile (compile_environment, filename, should_compile) | |
Variables | |
| TEST_DIR = Path(__file__).resolve().parent | |
| FIRMWARE_DIR = TEST_DIR.parents[2] | |
| str | CASES_DIR = TEST_DIR / "compile_time" |
| list | CASES |
dearunits/test_compile_time.py Check that the C23 compiler properly rejects/accepts DearUnits during build Author: Irving Wang (irvingw@purdue.edu)
| test_compile_time.compile_case | ( | compiler, | |
| include_dir, | |||
| filename ) |
| test_compile_time.compile_environment | ( | ) |
| test_compile_time.test_compile | ( | compile_environment, | |
| filename, | |||
| should_compile ) |
| list test_compile_time.CASES |
| str test_compile_time.CASES_DIR = TEST_DIR / "compile_time" |
| test_compile_time.FIRMWARE_DIR = TEST_DIR.parents[2] |
| test_compile_time.TEST_DIR = Path(__file__).resolve().parent |