]> git.draconx.ca Git - liblbx.git/blobdiff - tests/moo2-logo.tap
Port all test cases to Autotest.
[liblbx.git] / tests / moo2-logo.tap
diff --git a/tests/moo2-logo.tap b/tests/moo2-logo.tap
deleted file mode 100755 (executable)
index da43d57..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/sh
-#
-# 2ooM: The Master of Orion II Reverse Engineering Project
-# Test correct decoding of various images in logo.lbx
-# Copyright © 2013-2014 Nick Bowler
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-. "$srcdir/tests/util/test-init.sh" || exit 99
-
-test x"${MOO2DATA+set}" = x"set" ||
-       skip_all_ "test requires original data files"
-dx_create_testdir
-
-plan_ 7
-
-command_ok_ "unpacking logo.lbx" $LBXTOOL -xf "$MOO2DATA/logo.lbx"
-
-diag_ "Test image with transparency and embedded palette"
-command_ok_ "decoding logo.lbx.000" \
-       $LBXIMG -F pam --output-prefix test0 -df logo.lbx.000
-dx_check_pam_md5 "test0.000.pam" e51c564aa638dc62dd1fd79e6f6cc375
-
-diag_ "Test image with animation and embedded palette"
-command_ok_ "decoding logo.lbx.001" \
-       $LBXIMG -F pam --output-prefix test1 -df logo.lbx.001
-dx_check_pam_md5 "test1.000.pam" 13a60ede277eebe8fec69f03c5cb5843
-dx_check_pam_md5 "test1.030.pam" c687fc35b940d0bfdaea5b6d51aa03c4
-dx_check_pam_md5 "test1.063.pam" 7c694409997fe15272abe71f3fea2759