[all-commits] [llvm/llvm-project] c71956: [MLGO] Add tests for scripts (#78878)

Aiden Grossman via All-commits all-commits at lists.llvm.org
Sun Jan 21 14:49:57 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c71956d760517a99d5d3d13b454873016333fcb3
      https://github.com/llvm/llvm-project/commit/c71956d760517a99d5d3d13b454873016333fcb3
  Author: Aiden Grossman <agrossman154 at yahoo.com>
  Date:   2024-01-21 (Sun, 21 Jan 2024)

  Changed paths:
    M llvm/utils/mlgo-utils/CMakeLists.txt
    A llvm/utils/mlgo-utils/tests/corpus/combine_training_corpus_script.test
    A llvm/utils/mlgo-utils/tests/corpus/extract_ir_script.test
    A llvm/utils/mlgo-utils/tests/corpus/make_corpus_script.test
    M llvm/utils/mlgo-utils/tests/lit.cfg

  Log Message:
  -----------
  [MLGO] Add tests for scripts (#78878)

This patch adds integration tests for the script entry points. The tests
don't exercise all functionality, as that case is better covered by the
unit testing already checked in. This ensures that things like flag
parsing work and that the scripts are syntactically valid.




More information about the All-commits mailing list