[cmake-developers] [CMake 0014738]: add_test should report duplicate test

Mantis Bug Tracker mantis at public.kitware.com
Thu Feb 6 08:05:10 EST 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://cmake.org/Bug/view.php?id=14738 
====================================================================== 
Reported By:                Mathieu Malaterre
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14738
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-02-06 08:05 EST
Last Modified:              2014-02-06 08:05 EST
====================================================================== 
Summary:                    add_test should report duplicate test
Description: 
When working in large projects is happen sometimes that two tests have the same
name. It would be nice if cmake would report that.

Steps to Reproduce: 
$ cat CMakeLists.txt 
project(t)
enable_testing()
add_test(foobar ls)
add_test(foobar uptime)
$ cmake .
$ make test
-> uptime is used
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-02-06 08:05 Mathieu MalaterreNew Issue                                    
======================================================================



More information about the cmake-developers mailing list