[all-commits] [llvm/llvm-project] cc802e: Only run mangled_names.test if python3 is available.

Nico Weber via All-commits all-commits at lists.llvm.org
Mon Dec 16 11:28:01 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: cc802ea67beb66d2f8a935e647c3aedcf7848211
      https://github.com/llvm/llvm-project/commit/cc802ea67beb66d2f8a935e647c3aedcf7848211
  Author: Nico Weber <thakis at chromium.org>
  Date:   2019-12-16 (Mon, 16 Dec 2019)

  Changed paths:
    M llvm/test/tools/UpdateTestChecks/lit.local.cfg
    M llvm/test/tools/UpdateTestChecks/update_cc_test_checks/mangled_names.test

  Log Message:
  -----------
  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.




More information about the All-commits mailing list