1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254
|
From: Benda Xu <heroxbd@gentoo.org>
Date: Wed, 10 Sep 2014 10:00:43 +0900
Subject: Disable tests that require data tables
The data tables are not available during the build of casacore (yet).
---
coordinates/Coordinates/test/CMakeLists.txt | 12 ++++-----
images/Images/test/CMakeLists.txt | 40 ++++++++++++++---------------
images/Regions/test/CMakeLists.txt | 8 +++---
meas/MeasUDF/test/CMakeLists.txt | 14 +++++-----
measures/Measures/test/CMakeLists.txt | 37 ++++++++++++--------------
measures/TableMeasures/test/CMakeLists.txt | 2 +-
ms/MSOper/test/CMakeLists.txt | 8 +++---
ms/MeasurementSets/test/CMakeLists.txt | 2 +-
8 files changed, 59 insertions(+), 64 deletions(-)
diff --git a/coordinates/Coordinates/test/CMakeLists.txt b/coordinates/Coordinates/test/CMakeLists.txt
index bd1c996..248b395 100644
--- a/coordinates/Coordinates/test/CMakeLists.txt
+++ b/coordinates/Coordinates/test/CMakeLists.txt
@@ -1,18 +1,18 @@
set (tests
-dCoordinates
+#dCoordinates # requires geodetic/Observatories
dRemoveAxes
dWorldMap
tCoordinate
-tCoordinateSystem
-tCoordinateUtil
+# tCoordinateSystem # requires geodetic/Observatories
+# tCoordinateUtil # requires geodetic/Observatories
tDirectionCoordinate
-tFrequencyAligner
+# tFrequencyAligner # requires geodetic/Observatories
tGaussianConvert
tLinearCoordinate
tLinearXform
-tObsInfo
+# tObsInfo # requires geodetic/Observatories
tProjection
-tSpectralCoordinate
+# tSpectralCoordinate # requires geodetic/Observatories
tStokesCoordinate
tQualityCoordinate
tTabularCoordinate
diff --git a/images/Images/test/CMakeLists.txt b/images/Images/test/CMakeLists.txt
index 302d798..4115c29 100644
--- a/images/Images/test/CMakeLists.txt
+++ b/images/Images/test/CMakeLists.txt
@@ -35,39 +35,39 @@ endforeach (file)
set (tests
dImageInterface
-dImageStatistics
-dImageSummary
+# dImageStatistics # requires geodetic/Observatories
+# dImageSummary # requires geodetic/Observatories
dPagedImage
tExtendImage
-tFITSErrorImage
+# tFITSErrorImage #
tFITSExtImage
tFITSExtImageII
tFITSImage
tFITSImgParser
-tFITSQualityImage
+# tFITSQualityImage #
tHDF5Image
-tImageAttrHandler
-tImageBeamSet
-tImageConcat
-tImageEmpty
-tImageExpr
-tImageExpr2
-tImageExpr2Gram
-tImageExpr3Gram
+# tImageAttrHandler # requires geodetic/Observatories
+# tImageBeamSet #
+# tImageConcat # needs casacore-data
+# tImageEmpty # requires geodetic/Observatories
+# tImageExpr
+# tImageExpr2
+# tImageExpr2Gram # requires geodetic/Observatories
+# tImageExpr3Gram # requires geodetic/Observatories
tImageExprGram
tImageExprParse
tImageExprParse_addDir
tImageInfo
-tImageProxy
-tImageRegrid
+# tImageProxy
+# tImageRegrid # requires geodetic/Observatories
tImageStatistics
-tImageStatistics2
-tImageUtilities
-tLELSpectralIndex
+# tImageStatistics2 # requires geodetic/Observatories
+# tImageUtilities # requires geodetic/Observatories
+# tLELSpectralIndex # requires geodetic/Observatories
tMIRIADImage
-tPagedImage
-tPagedImage2
-tRebinImage
+# tPagedImage # requires geodetic/Observatories
+# tPagedImage2 # requires geodetic/Observatories
+# tRebinImage # requires geodetic/Observatories
tSubImage
tTempImage
)
diff --git a/images/Regions/test/CMakeLists.txt b/images/Regions/test/CMakeLists.txt
index b94c391..1201346 100644
--- a/images/Regions/test/CMakeLists.txt
+++ b/images/Regions/test/CMakeLists.txt
@@ -9,12 +9,12 @@ foreach (file ${datafiles})
endforeach (file)
set (tests
-tImageRegion
+# tImageRegion
tRegionHandler
-tWCBox
-tWCEllipsoid
+# tWCBox # requires geodetic/Observatories
+# tWCEllipsoid
tWCExtension
-tWCLELMask
+# tWCLELMask # requires geodetic/Observatories
tWCUnion
)
diff --git a/meas/MeasUDF/test/CMakeLists.txt b/meas/MeasUDF/test/CMakeLists.txt
index e4e8ff4..5784f91 100644
--- a/meas/MeasUDF/test/CMakeLists.txt
+++ b/meas/MeasUDF/test/CMakeLists.txt
@@ -1,12 +1,12 @@
set (tests
- tPositionEngine
- tEpochEngine
- tDirectionEngine
- tEarthMagneticEngine
+# tPositionEngine
+# tEpochEngine
+# tDirectionEngine
+# tEarthMagneticEngine
tFrequencyEngine
- tRadialVelocityEngine
- tDopplerEngine
- tmeas
+# tRadialVelocityEngine
+# tDopplerEngine
+# tmeas # requires casacore-data
)
foreach (test ${tests})
diff --git a/measures/Measures/test/CMakeLists.txt b/measures/Measures/test/CMakeLists.txt
index c10a670..261adb1 100644
--- a/measures/Measures/test/CMakeLists.txt
+++ b/measures/Measures/test/CMakeLists.txt
@@ -1,25 +1,25 @@
set (tests
dM1950_2000
-dMeasure
-tEarthField
-tEarthMagneticMachine
-tMBaseline
-tMDirection
-tMEarthMagnetic
-tMFrequency
-tMeasComet
-tMeasIERS
-tMeasJPL
+# dMeasure # geodetic/TAI_UTC
+# tEarthField # geodetic/IGRF
+# tEarthMagneticMachine # geodetic/IGRF
+# tMBaseline # geodetic/IGRF
+# tMDirection
+# tMEarthMagnetic # geodetic/IGRF
+# tMFrequency
+# tMeasComet # ephemerides/VGEO
+# tMeasIERS # geodetic/IERS*
+# tMeasJPL # ephemerides/DE200
tMeasMath
-tMeasure
+# tMeasure # geodetic/TAI_UTC
tMeasureHolder
-tMuvw
-tParAngleMachine
-tQuality
+# tMuvw # geodetic/TAI_UTC
+# tParAngleMachine # geodetic/TAI_UTC
+# tQuality
tRecordTransformable
tStokes
tUVWMachine
-tVelocityMachine
+# tVelocityMachine # geodetic/TAI_UTC
)
foreach (test ${tests})
@@ -29,9 +29,4 @@ foreach (test ${tests})
add_dependencies(check ${test})
endforeach (test)
-if (SOFA_FOUND)
- add_executable (tIAU2000 SofaTest.cc tIAU2000.cc)
- target_link_libraries (tIAU2000 casa_measures ${SOFA_LIBRARY})
- add_test (tIAU2000 ${CMAKE_SOURCE_DIR}/cmake/cmake_assay ./tIAU2000)
- add_dependencies(check tIAU2000)
-endif (SOFA_FOUND)
+# tIAU2000 disabled for missing geodetic/TAI_UTC
diff --git a/measures/TableMeasures/test/CMakeLists.txt b/measures/TableMeasures/test/CMakeLists.txt
index e7c4af1..84e7d6d 100644
--- a/measures/TableMeasures/test/CMakeLists.txt
+++ b/measures/TableMeasures/test/CMakeLists.txt
@@ -1,6 +1,6 @@
set (tests
tTableQuantum
-tTableMeasures
+# tTableMeasures # geodetic/{IERSeop{2000,97},IERSpredict{,2000},TAI_UTC}
dVarRefMdirCol
)
diff --git a/ms/MSOper/test/CMakeLists.txt b/ms/MSOper/test/CMakeLists.txt
index c0366ef..760fd24 100644
--- a/ms/MSOper/test/CMakeLists.txt
+++ b/ms/MSOper/test/CMakeLists.txt
@@ -1,10 +1,10 @@
set (tests
-tMSDerivedValues
-tMSKeys
+# tMSDerivedValues # geodetic/IERSpredict
+# tMSKeys
tMSMetaData
tMSReader
-tMSSummary
-tNewMSSimulator
+# tMSSummary
+# tNewMSSimulator
)
foreach (test ${tests})
diff --git a/ms/MeasurementSets/test/CMakeLists.txt b/ms/MeasurementSets/test/CMakeLists.txt
index 6e66aad..8150ad4 100644
--- a/ms/MeasurementSets/test/CMakeLists.txt
+++ b/ms/MeasurementSets/test/CMakeLists.txt
@@ -15,7 +15,7 @@ tMeasurementSet
tMSColumns
tMSDataDescBuffer
tMSFieldBuffer
-tMSFieldEphem
+#tMSFieldEphem requires casacore-data
tMSIter
tMSMainBuffer
tMSPolBuffer
|