From 9ef3f37987123aaf4d348659bae4bc294fe60134 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Del=20Pino?= <stephane.delpino44@gmail.com>
Date: Thu, 29 Oct 2020 00:04:45 +0100
Subject: [PATCH] Add `check` target as an alias to the `test` target

This is just a convenience target alias (`check` is for instance the
classic test suite target name used by `autotools`)
---
 CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b32c6842f..b5865aa9b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -329,6 +329,10 @@ add_custom_target(all_unit_tests
   DEPENDS unit_tests mpi_unit_tests
 )
 
+add_custom_target(check
+  DEPENDS test
+  )
+
 add_custom_target(test
   DEPENDS run_all_unit_tests
   )
-- 
GitLab