mirror of
https://github.com/datajerk/c2d.git
synced 2024-06-14 12:29:27 +00:00
fixed windows testing, docker required now
This commit is contained in:
parent
163d8a9661
commit
51933f3223
|
@ -32,6 +32,7 @@ Download <https://github.com/datajerk/c2d/archive/master.zip> and extract.
|
||||||
### Build Notes
|
### Build Notes
|
||||||
|
|
||||||
NOTE: cc65 2.13.3 required (no other version supported)
|
NOTE: cc65 2.13.3 required (no other version supported)
|
||||||
|
NOTE: Docker required for `make disttest`
|
||||||
|
|
||||||
Unix/Linux:
|
Unix/Linux:
|
||||||
|
|
||||||
|
|
BIN
bin/c2d.exe
BIN
bin/c2d.exe
Binary file not shown.
Binary file not shown.
Binary file not shown.
4
dwine
Executable file
4
dwine
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -x
|
||||||
|
docker run --rm -it -v $PWD:/pwd wine32 bash -c "cd /pwd && wine $*"
|
28
test.sh
28
test.sh
|
@ -47,9 +47,8 @@ then
|
||||||
echo
|
echo
|
||||||
echo "Testing Windows c2d..."
|
echo "Testing Windows c2d..."
|
||||||
echo
|
echo
|
||||||
PATH=$HOME/wine/bin:$PATH
|
echo "./dwine bin/c2d.exe ${BIN},${ADDR} ${BIN}.dsk"
|
||||||
echo "wine bin/c2d.exe ${BIN},${ADDR} ${BIN}.dsk"
|
./dwine bin/c2d.exe ${BIN},${ADDR} ${BIN}.dsk 2>&1 | sed 's/^/ /'
|
||||||
wine bin/c2d.exe ${BIN},${ADDR} ${BIN}.dsk 2>&1 | sed 's/^/ /'
|
|
||||||
CHECK=$(md5sum ${BIN}.dsk | awk '{print $1}')
|
CHECK=$(md5sum ${BIN}.dsk | awk '{print $1}')
|
||||||
if [ "$CHECK" = "$SUM" ]
|
if [ "$CHECK" = "$SUM" ]
|
||||||
then
|
then
|
||||||
|
@ -104,11 +103,10 @@ then
|
||||||
echo
|
echo
|
||||||
echo "Testing Windows c2d textpage..."
|
echo "Testing Windows c2d textpage..."
|
||||||
echo
|
echo
|
||||||
PATH=$HOME/wine/bin:$PATH
|
echo "./dwine bin/text2page.exe <${BIN}.text >${BIN}.textpage"
|
||||||
echo "wine bin/text2page.exe <${BIN}.text >${BIN}.textpage"
|
./dwine bin/text2page.exe '<'${BIN}.text '>'${BIN}.textpage
|
||||||
wine bin/text2page.exe <${BIN}.text >${BIN}.textpage
|
echo "./dwine bin/c2d.exe -t ${BIN}.textpage ${BIN},${ADDR} ${BIN}.dsk"
|
||||||
echo "wine bin/c2d.exe -t ${BIN}.textpage ${BIN},${ADDR} ${BIN}.dsk"
|
./dwine bin/c2d.exe -t ${BIN}.textpage ${BIN},${ADDR} ${BIN}.dsk 2>&1 | sed 's/^/ /'
|
||||||
wine bin/c2d.exe -t ${BIN}.textpage ${BIN},${ADDR} ${BIN}.dsk 2>&1 | sed 's/^/ /'
|
|
||||||
CHECK=$(md5sum ${BIN}.dsk | awk '{print $1}')
|
CHECK=$(md5sum ${BIN}.dsk | awk '{print $1}')
|
||||||
if [ "$CHECK" = "$SUM" ]
|
if [ "$CHECK" = "$SUM" ]
|
||||||
then
|
then
|
||||||
|
@ -145,9 +143,8 @@ rm -f ${BIN}.dsk
|
||||||
echo
|
echo
|
||||||
echo "Testing Windows c2d..."
|
echo "Testing Windows c2d..."
|
||||||
echo
|
echo
|
||||||
PATH=$HOME/wine/bin:$PATH
|
echo "./dwine bin/c2d.exe ${BIN},${ADDR} ${BIN}.dsk"
|
||||||
echo "wine bin/c2d.exe ${BIN},${ADDR} ${BIN}.dsk"
|
./dwine bin/c2d.exe ${MON} ${BIN}.dsk 2>&1 | sed 's/^/ /'
|
||||||
wine bin/c2d.exe ${MON} ${BIN}.dsk 2>&1 | sed 's/^/ /'
|
|
||||||
CHECK=$(md5sum ${BIN}.dsk | awk '{print $1}')
|
CHECK=$(md5sum ${BIN}.dsk | awk '{print $1}')
|
||||||
if [ "$CHECK" = "$SUM" ]
|
if [ "$CHECK" = "$SUM" ]
|
||||||
then
|
then
|
||||||
|
@ -183,11 +180,10 @@ then
|
||||||
echo
|
echo
|
||||||
echo "Testing Windows c2d textpage..."
|
echo "Testing Windows c2d textpage..."
|
||||||
echo
|
echo
|
||||||
PATH=$HOME/wine/bin:$PATH
|
echo "./dwine bin/text2page.exe <${BIN}.text >${BIN}.textpage"
|
||||||
echo "wine bin/text2page.exe <${BIN}.text >${BIN}.textpage"
|
./dwine bin/text2page.exe '<'${BIN}.text '>'${BIN}.textpage
|
||||||
wine bin/text2page.exe <${BIN}.text >${BIN}.textpage
|
echo "./dwine bin/c2d.exe -t ${BIN}.textpage ${BIN},${ADDR} ${BIN}.dsk"
|
||||||
echo "wine bin/c2d.exe -t ${BIN}.textpage ${BIN},${ADDR} ${BIN}.dsk"
|
./dwine bin/c2d.exe -t ${BIN}.textpage ${MON} ${BIN}.dsk 2>&1 | sed 's/^/ /'
|
||||||
wine bin/c2d.exe -t ${BIN}.textpage ${MON} ${BIN}.dsk 2>&1 | sed 's/^/ /'
|
|
||||||
CHECK=$(md5sum ${BIN}.dsk | awk '{print $1}')
|
CHECK=$(md5sum ${BIN}.dsk | awk '{print $1}')
|
||||||
if [ "$CHECK" = "$SUM" ]
|
if [ "$CHECK" = "$SUM" ]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user