Rename `check-npcomp-opt` to just `check-npcomp`.

It runs npcomp-run-mlir as well now, so having `-opt` in the name is
confusing.
pull/1/head
Sean Silva 2020-05-29 16:12:10 -07:00
parent ea822968fa
commit ccd5754b88
3 changed files with 7 additions and 9 deletions

View File

@ -35,7 +35,7 @@ export LLVM_SRC_DIR=/path/to/llvm-project
# ./tools/test_all.sh runs all of these commands.
cd build
ninja
ninja check-npcomp-opt
ninja check-npcomp
# Note: currently, python tests run separately
./python/run_tests.py
```

View File

@ -5,18 +5,16 @@ configure_lit_site_cfg(
${CMAKE_CURRENT_SOURCE_DIR}/lit.cfg.py
)
set(NPCOMP_OPT_TEST_DEPENDS
set(NPCOMP_TEST_DEPENDS
FileCheck count not
npcomp-opt
npcomp-run-mlir
)
# TODO: Rename this to just check-npcomp, now that npcomp-run-mlir exists
# too.
add_lit_testsuite(check-npcomp-opt "Running the npcomp-opt regression tests"
add_lit_testsuite(check-npcomp "Running the npcomp regression tests"
${CMAKE_CURRENT_BINARY_DIR}
DEPENDS ${NPCOMP_OPT_TEST_DEPENDS}
DEPENDS ${NPCOMP_TEST_DEPENDS}
)
set_target_properties(check-npcomp-opt PROPERTIES FOLDER "Tests")
set_target_properties(check-npcomp PROPERTIES FOLDER "Tests")
add_lit_testsuites(NPCOMP_OPT ${CMAKE_CURRENT_SOURCE_DIR} DEPENDS ${NPCOMP_OPT_TEST_DEPENDS})
add_lit_testsuites(NPCOMP_OPT ${CMAKE_CURRENT_SOURCE_DIR} DEPENDS ${NPCOMP_TEST_DEPENDS})

View File

@ -20,7 +20,7 @@ td="$(realpath $(dirname $0)/..)"
cd $td/build
ninja
ninja check-npcomp-opt
ninja check-npcomp
./python/run_tests.py
echo