]> granicus.if.org Git - libjpeg-turbo/commitdiff
Build: Fix regression test failure w/ ctest -j
authorOrivej Desh <orivej@gmx.fr>
Mon, 21 Jan 2019 22:56:56 +0000 (22:56 +0000)
committerDRC <information@virtualgl.org>
Mon, 21 Jan 2019 22:56:56 +0000 (16:56 -0600)
The djpeg rgb-islow-icc-cmp test must run after the djpeg rgb-islow
test, since the latter generates testout_rgb_islow.icc.

CMakeLists.txt

index 96a2a5da9e53741d6617b575f3bf7638e98b3717..796ed7136659cb88e8e26c883cded5145800edc4 100644 (file)
@@ -999,6 +999,8 @@ foreach(libtype ${TEST_LIBTYPES})
 
   add_test(djpeg-${libtype}-rgb-islow-icc-cmp
     ${MD5CMP} b06a39d730129122e85c1363ed1bbc9e testout_rgb_islow.icc)
+  set_tests_properties(djpeg-${libtype}-rgb-islow-icc-cmp PROPERTIES
+    DEPENDS djpeg-${libtype}-rgb-islow)
 
   add_bittest(jpegtran icc "-copy;all;-icc;${TESTIMAGES}/test2.icc"
     testout_rgb_islow2.jpg testout_rgb_islow.jpg ${MD5_JPEG_RGB_ISLOW2})