Skip to content

Commit

Permalink
CI: Test DOS built kernels for existence and boot
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbird committed Feb 24, 2024
1 parent 6092afc commit 92f9a51
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion ci_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,17 @@ if [ ! -f _output/wc/KWC${KVER}.sys ] ; then
exit 1
fi

echo GCC and Watcom kernels have all been built
if [ ! -f _output/wc_dos/KWC38632.sys ] ; then
echo Watcom DOS built kernel not present
exit 1
fi

if [ ! -f _output/tc_dos/KTC38632.sys ] && [ -d ${HOME}/.dosemu/drive_c/tc201 ] ; then
echo Turbo C 2.01 built kernel not present
exit 1
fi

echo Kernels have all been built
find _output -ls

cd test
Expand All @@ -26,5 +36,17 @@ then
echo OpenWatcom boot test failed
exit 2
fi
if ! ./test.sh ../_output/wc_dos/KWC38632.sys diskwcd bootwcd 'boot wcd: '
then
echo 'OpenWatcom(DOS) boot test failed'
exit 2
fi
if [ -d ${HOME}/.dosemu/drive_c/tc201 ] ; then
if ! ./test.sh ../_output/tc_dos/KTC38632.sys disktcd boottcd 'boot tcd: '
then
echo 'Turbo C 2.01 boot test failed'
exit 2
fi
fi
cd ..
exit 0

0 comments on commit 92f9a51

Please sign in to comment.