--- a/tests/codec-regression.sh
+++ b/tests/codec-regression.sh
@@ -370,14 +370,18 @@
 do_video_decoding "" "-s cif -pix_fmt yuv420p -sws_flags neighbor+bitexact"
 fi
 
-if [ -n "$do_dnxhd" ] ; then
+if [ -n "$do_dnxhd_1080i" ] ; then
 # FIXME: interlaced raw DNxHD decoding is broken
 do_video_encoding dnxhd-1080i.mov "" "-vcodec dnxhd -flags +ildct -s hd1080 -b 120Mb -pix_fmt yuv422p -an"
 do_video_decoding "-r 25" "-s cif -pix_fmt yuv420p"
-
+fi
+
+if [ -n "$do_dnxhd_720p" ] ; then
 do_video_encoding dnxhd-720p.dnxhd "" "-s hd720 -b 90Mb -pix_fmt yuv422p -an"
 do_video_decoding "-r 25" "-s cif -pix_fmt yuv420p"
-
+fi
+
+if [ -n "$do_dnxhd_720p_rd" ] ; then
 do_video_encoding dnxhd-720p-rd.dnxhd "" "-mbd rd -s hd720 -b 90Mb -pix_fmt yuv422p -an"
 do_video_decoding "-r 25" "-s cif -pix_fmt yuv420p"
 fi