From: Antonin Descampe Date: Thu, 11 Jul 2013 16:48:49 +0000 (+0000) Subject: test: modified class-0 conformance testing to comply with constraints X-Git-Tag: version.2.0.1~4^2~276 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=34fd4935128751aa84e8cfc0db5a9aec680ba5e7;p=openjpeg test: modified class-0 conformance testing to comply with constraints --- diff --git a/tests/conformance/CMakeLists.txt b/tests/conformance/CMakeLists.txt index 9af8d059..77b14c3b 100644 --- a/tests/conformance/CMakeLists.txt +++ b/tests/conformance/CMakeLists.txt @@ -40,7 +40,9 @@ foreach(numFileC0P0 RANGE 1 16) # Get corresponding tests parameters list(GET C0P0_ResFactor_list ${numFileC0P0} ResFactor) - list(GET CP0_nbC_list ${numFileC0P0} nbComponents) + #For Class-0 testing, we always focus on the first component only + #list(GET CP0_nbC_list ${numFileC0P0} nbComponents) + set( nbComponents "1") list(GET C0P0_PEAK_list ${numFileC0P0} PEAK_limit) list(GET C0P0_MSE_list ${numFileC0P0} MSE_limit) @@ -177,7 +179,9 @@ foreach(numFileC0P1 RANGE 1 7) # Get corresponding tests parameters list(GET C0P1_ResFactor_list ${numFileC0P1} ResFactor) - list(GET CP1_nbC_list ${numFileC0P1} nbComponents) + #For Class-0 testing, we always focus on the first component only + #list(GET CP0_nbC_list ${numFileC0P0} nbComponents) + set( nbComponents "1") list(GET C0P1_PEAK_list ${numFileC0P1} PEAK_limit) list(GET C0P1_MSE_list ${numFileC0P1} MSE_limit)