From 691b1bff57fd530aa7f871bbb97c17fc474eba62 Mon Sep 17 00:00:00 2001
From: Yifan Zhao <yifanz16@illinois.edu>
Date: Tue, 23 Mar 2021 00:58:59 -0500
Subject: [PATCH] hpvm-check -> check-hpvm

---
 hpvm/test/CMakeLists.txt                       | 6 ------
 hpvm/test/README.md                            | 4 ++--
 hpvm/test/dnn_benchmarks/hpvm-c/CMakeLists.txt | 4 ++--
 3 files changed, 4 insertions(+), 10 deletions(-)

diff --git a/hpvm/test/CMakeLists.txt b/hpvm/test/CMakeLists.txt
index 4c96ee124f..9362900735 100644
--- a/hpvm/test/CMakeLists.txt
+++ b/hpvm/test/CMakeLists.txt
@@ -43,12 +43,6 @@ set_target_properties(check-hpvm PROPERTIES FOLDER "Tests")
 
 add_lit_testsuites(HPVM ${CMAKE_CURRENT_SOURCE_DIR} DEPENDS ${HPVM_TEST_DEPENDS})
 
-# Setup a legacy alias for 'check-llvm'. This will likely change to be an
-# alias for 'check-all' at some point in the future.
-add_custom_target(hpvm-check)
-add_dependencies(hpvm-check check-hpvm)
-set_target_properties(hpvm-check PROPERTIES FOLDER "Tests")
-
 # HPVM-C benchmarks uses ctest instead of LLVM's test mechanism
 # because they are compiled in a custom way
 include(CTest)
diff --git a/hpvm/test/README.md b/hpvm/test/README.md
index 7e8b408a0c..f7070d6b70 100644
--- a/hpvm/test/README.md
+++ b/hpvm/test/README.md
@@ -24,8 +24,8 @@ This directory is organized as follows:
 ## Running Test Cases and Benchmarks
 
 The easiest way to run `unitTests/` and `regressionTests/` is
-to build the target `hpvm-check` in the global build directory: `make -j hpvm-check`.
-`hpvm-check` doesn't automatically run `benchmarks/` and `dnn_benchmarks` as they are extremely time-consuming.
+to build the target `check-hpvm` in the global build directory: `make -j check-hpvm`.
+`check-hpvm` doesn't automatically run `benchmarks/` and `dnn_benchmarks` as they are extremely time-consuming.
 
 `benchmarks/` can only be compiled in-source with `make`.
 We are working to migrate it into the `cmake` system.
diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/CMakeLists.txt b/hpvm/test/dnn_benchmarks/hpvm-c/CMakeLists.txt
index 37a856123d..6aa1f87168 100644
--- a/hpvm/test/dnn_benchmarks/hpvm-c/CMakeLists.txt
+++ b/hpvm/test/dnn_benchmarks/hpvm-c/CMakeLists.txt
@@ -53,6 +53,6 @@ foreach(dir ${entries})
   run_single_benchmark(run_${dirname}_cudnn ${dirname}_cudnn)
 endforeach(dir)
 
-message(STATUS "List of test dnn benchmarks: ${test_compile_targets}")
+message(STATUS "List of HPVM-C DNN benchmarks: ${test_compile_targets}")
 add_custom_target(dnn_benchmarks DEPENDS ${test_compile_targets})
-message(STATUS "Target name for compiling all dnn benchmarks: dnn_benchmarks")
+message(STATUS "Target name for compiling all DNN benchmarks: dnn_benchmarks")
-- 
GitLab