mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
Added a subproject for executables invoked by test scripts.
This commit is contained in:
parent
e362d8e6ee
commit
f85d09520a
@ -162,6 +162,7 @@ MACRO(build_bin_test F)
|
||||
PROPERTIES LINK_FLAGS_DEBUG " /NODEFAULTLIB:MSVCRT"
|
||||
)
|
||||
ENDIF()
|
||||
SET_PROPERTY(TARGET ${F} PROPERTY LABELS invoked_by_scripts)
|
||||
ENDMACRO()
|
||||
|
||||
# Binary tests which are used by a script looking for a specific name.
|
||||
@ -171,6 +172,7 @@ MACRO(add_bin_test_no_prefix F)
|
||||
IF(MSVC)
|
||||
SET_PROPERTY(TEST ${F} PROPERTY FOLDER "tests/")
|
||||
ENDIF()
|
||||
|
||||
ENDMACRO()
|
||||
|
||||
# Binary tests which are used by a script looking for a specific name.
|
||||
|
@ -1,6 +1,6 @@
|
||||
# CTest/CDash configuration
|
||||
|
||||
SET(CTEST_PROJECT_SUBPROJECTS netcdf ncgen ncdump nccopy nc_test)
|
||||
SET(CTEST_PROJECT_SUBPROJECTS netcdf ncgen ncdump nccopy nc_test invoked_by_scripts)
|
||||
|
||||
IF(USE_REMOTE_CDASH)
|
||||
set(CTEST_PROJECT_NAME "NetCDF-C")
|
||||
|
@ -1,16 +1,23 @@
|
||||
<Project name="WinNETCDF">
|
||||
<SubProject name="netcdf">
|
||||
</SubProject>
|
||||
<SubProject name="invoked_by_scripts">
|
||||
<Dependency name="netcdf" />
|
||||
</SubProject>
|
||||
<SubProject name="ncgen">
|
||||
<Dependency name="netcdf"/>
|
||||
<Dependency name="invoked_by_scripts">
|
||||
</SubProject>
|
||||
<SubProject name="ncdump">
|
||||
<Dependency name="netcdf"/>
|
||||
<Dependency name="invoked_by_scripts">
|
||||
</SubProject>
|
||||
<SubProject name="nccopy">
|
||||
<Dependency name="netcdf" />
|
||||
<Dependency name="invoked_by_scripts">
|
||||
</SubProject>
|
||||
<SubProject name="nc_test">
|
||||
<Dependency name="netcdf" />
|
||||
<Dependency name="invoked_by_scripts">
|
||||
</SubProject>
|
||||
</Project>
|
||||
|
@ -34,7 +34,6 @@ ENDIF()
|
||||
# Build executables required for the shell scripts.
|
||||
FOREACH(BINFILE ${TESTFILES})
|
||||
build_bin_test(${BINFILE})
|
||||
SET_PROPERTY(TARGET ${BINFILE} PROPERTY LABELS nc_test)
|
||||
ENDFOREACH()
|
||||
|
||||
# Process single-file test files.
|
||||
|
Loading…
Reference in New Issue
Block a user