* Simple wrapper around the bazel based C++ validator tests. * @return {Promise }
()
| 24 | * @return {Promise<void>} |
| 25 | */ |
| 26 | async function validatorCpp() { |
| 27 | const bazelCmd = [ |
| 28 | 'bazel-5.4.0 test', |
| 29 | '--repo_env=CC=clang', |
| 30 | "--cxxopt='-std=c++17'", |
| 31 | '--discard_analysis_cache', |
| 32 | '--notrack_incremental_state', |
| 33 | '--nokeep_state_after_build', |
| 34 | '--test_output=errors', |
| 35 | '--ui_event_filters=INFO', |
| 36 | '--noshow_progress', |
| 37 | '--noshow_loading_progress', |
| 38 | '--test_summary=detailed', |
| 39 | '--verbose_failures', |
| 40 | 'cpp/engine:validator_test', |
| 41 | ].join(' '); |
| 42 | execOrDie(bazelCmd, { |
| 43 | cwd: 'validator', |
| 44 | stdio: 'inherit', |
| 45 | }); |
| 46 | } |
| 47 | |
| 48 | /** |
| 49 | * Simple wrapper around the python based validator webui tests. |
nothing calls this directly
no test coverage detected