HomePhabricator

Only run mangled_names.test if python3 is available.

Authored by thakis on Dec 16 2019, 11:26 AM.

Description

Only run mangled_names.test if python3 is available.

The %update_cc_test_checks substitution only gets added if python3
is on path, so the test fails if it isn't. Don't run the test
when it would fail.

Also include the '%' in the arg to add_update_script_substition(),
to help greppability.