# --[ llvm-lit test setup # lit.cfg.py looks for tests in CMAKE_CURRENT_BINARY_DIR (see lit.cfg.py) # as most of the tests require some kind of compilation / generation # which is best done over there. configure_lit_site_cfg( ../../lit.site.cfg.py.in ${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg.py MAIN_CONFIG ${CMAKE_CURRENT_SOURCE_DIR}/lit.cfg.py ) add_lit_testsuite(check-hpvm-profiler "Run tests for package hpvm-profiler" ${CMAKE_CURRENT_BINARY_DIR} DEPENDS dnn_benchmarks # Requires all dnn benchmarks ARGS "-j1" # Run DNN benchmarks sequentially )