View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014738 | CMake | (No Category) | public | 2014-02-06 08:05 | 2016-06-10 14:31 | ||||
Reporter | Mathieu Malaterre | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake 2.8.11.1 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014738: 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 | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0039465) Ruslan Baratov (reporter) 2015-09-21 16:21 |
Hit same issue. CMake 3.3.2. By the way NAME/COMMAND variant do report the duplication. > cat CMakeLists.txt cmake_minimum_required(VERSION 3.3.2) project(t) enable_testing() add_test(NAME foobar COMMAND ls) add_test(NAME foobar COMMAND uptime) > rm -rf _builds && cmake -H. -B_builds ... CMake Error at CMakeLists.txt:6 (add_test): add_test given test NAME "foobar" which already exists in this directory. |
(0042478) Kitware Robot (administrator) 2016-06-10 14:29 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2014-02-06 08:05 | Mathieu Malaterre | New Issue | |
2015-09-21 16:21 | Ruslan Baratov | Note Added: 0039465 | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042478 | |
2016-06-10 14:29 | Kitware Robot | Status | new => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |