Project

General

Profile

Actions

Bug #647

closed

RUN_TESTS should not be available in VisualStudio when BUILD_APPS is disabled (CMake)

Added by Jörg Riesmeier about 10 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Jan Schlamelcher
Category:
Configuration
Target version:
Start date:
2015-07-06
Due date:
% Done:

100%

Estimated time:
Module:
CMake
Operating System:
Compiler:

Description

RUN_TEST does not work when BUILD_APPS is disabled during CMake configure:

1>------ Build started: Project: RUN_TESTS, Configuration: Release Win32 ------
1>  Test project C:/dcmtk-build
1>          Start   1: ofstd_OFCharacterEncoding_1
1>  Could not find executable C:/dcmtk-build/bin/ofstd_tests
1>  Looked in the following places:
1>  C:/dcmtk-build/bin/ofstd_tests
1>  C:/dcmtk-build/bin/ofstd_tests.exe
1>  C:/dcmtk-build/bin/Release/ofstd_tests
1>  C:/cmtk-build/bin/Release/ofstd_tests.exe
1>  Release/C:/dcmtk-build/bin/ofstd_tests
1>  Release/C:/dcmtk-build/bin/ofstd_tests.exe
1>  Unable to find executable: C:/dcmtk-build/bin/ofstd_tests
1>    1/162 Test   #1: ofstd_OFCharacterEncoding_1 .................................***Not Run   0.00 sec
...

Related issues 1 (0 open1 closed)

Is duplicate of DCMTK - Bug #586: RUN_TESTS fails on Windows, if BUILD_APPS is set to OFFClosedJan Schlamelcher2014-02-04

Actions
Actions #1

Updated by Jan Schlamelcher over 8 years ago

  • Assignee set to Jan Schlamelcher
Actions #2

Updated by Jan Schlamelcher over 8 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Fixed by commit 6497d3036: RUN_TESTS is still available, since potentially non-APP tests might be added in the future. However, CTest now correctly reports that no tests are available if RUN_TESTS is run.

Actions

Also available in: Atom PDF