Subversion Repositories ipe_artfile_utils

Compare Revisions

No changes between revisions

Regard whitespace Rev 1 → Rev 2

/trunk/test/ba_test/MENU.bmp
Cannot display: file marked as a binary type.
svn:mime-type = image/x-ms-bmp
Property changes:
Added: svn:mime-type
+image/x-ms-bmp
\ No newline at end of property
/trunk/test/ba_test/index.txt
0,0 → 1,0
X P MENU MENU.bmp
Property changes:
Added: svn:mime-type
+text/plain
\ No newline at end of property
/trunk/test/eraser_test/CHRBDOSS.bmp
Cannot display: file marked as a binary type.
svn:mime-type = image/x-ms-bmp
Property changes:
Added: svn:mime-type
+image/x-ms-bmp
\ No newline at end of property
/trunk/test/eraser_test/index.txt
0,0 → 1,0
CHRBDOSS 19(C) 0(R) CHRBDOSS.bmp
Property changes:
Added: svn:mime-type
+text/plain
\ No newline at end of property
/trunk/test/pip_test/CCES2S.bmp
Cannot display: file marked as a binary type.
svn:mime-type = image/x-ms-bmp
Property changes:
Added: svn:mime-type
+image/x-ms-bmp
\ No newline at end of property
/trunk/test/pip_test/index.txt
0,0 → 1,0
X Q CCES2S CCES2S.bmp 0 0
Property changes:
Added: svn:mime-type
+text/plain
\ No newline at end of property
/trunk/test/test.sh
0,0 → 1,72
#!/bin/bash
 
DIR=$( dirname "$0" )
cd "$DIR"
 
if [ -d out_test ]; then
rm -Rf out_test
fi
if [ -f eraser_test.art ]; then
rm -f eraser_test.art
fi
 
# ---
 
if [ -f ba_test.art ]; then
rm -f ba_test.art
fi
../ipe_artfile_packer -v -i ba_test -o ba_test.art -t ba
if [ -f ba_test.art ]; then
mkdir out_test
../ipe_artfile_unpacker -v -i ba_test.art -o out_test
fi
diff ba_test/MENU.bmp out_test/MENU.bmp
RES=$?
#if [ $RES -ne 0 ]; then
# exit 1
#fi
echo "DIFF Result (BA): $RES"
if [ -d out_test ]; then
rm -Rf out_test
fi
if [ -f ba_test.art ]; then
rm -f ba_test.art
fi
echo "------------------------"
 
../ipe_artfile_packer -v -i pip_test -o pip_test.art -t pip
if [ -f pip_test.art ]; then
mkdir out_test
../ipe_artfile_unpacker -v -i pip_test.art -o out_test
fi
diff pip_test/CCES2S.bmp out_test/CCES2S.bmp
RES=$?
#if [ $RES -ne 0 ]; then
# exit
#fi
echo "DIFF Result (PiP): $RES"
if [ -d out_test ]; then
rm -Rf out_test
fi
if [ -f pip_test.art ]; then
rm -f pip_test.art
fi
echo "------------------------"
 
../ipe_artfile_packer -v -i eraser_test -o eraser_test.art -t eraser
if [ -f eraser_test.art ]; then
mkdir out_test
../ipe_artfile_unpacker -v -i eraser_test.art -o out_test
fi
diff eraser_test/CHRBDOSS.bmp out_test/CHRBDOSS.bmp
RES=$?
#if [ $RES -ne 0 ]; then
# exit
#fi
echo "DIFF Result (Eraser): $RES"
if [ -d out_test ]; then
rm -Rf out_test
fi
if [ -f eraser_test.art ]; then
rm -f eraser_test.art
fi
Property changes:
Added: svn:executable
+*
\ No newline at end of property
Added: svn:mime-type
+text/x-sh
\ No newline at end of property