MCPcopy Index your code
hub / github.com/ampproject/amphtml / validatorCpp

Function validatorCpp

build-system/tasks/validator.js:26–46  ·  view source on GitHub ↗

* Simple wrapper around the bazel based C++ validator tests. * @return {Promise }

()

Source from the content-addressed store, hash-verified

24 * @return {Promise<void>}
25 */
26async 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.

Callers

nothing calls this directly

Calls 1

execOrDieFunction · 0.85

Tested by

no test coverage detected