summaryrefslogtreecommitdiff
path: root/test.sh
blob: 5fe9d5c1db78765c8832d9d3663bbeec8499760f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

set -e

dosbuild_dir='tests'

mkdir -p "$dosbuild_dir"
cat <<END >"$dosbuild_dir/build.bat"
path d:\\dosemu;e:\\sierra\\bin
set INCLUDE68=e:\\sierra\\include
set TEMP=c:\\tmp
END
echo "asm68 -l -Q -o test1.o test1.S" >>"$dosbuild_dir/build.bat"
echo "asm68 -l -Q -o test2.o test2.S" >>"$dosbuild_dir/build.bat"
echo "asm68 -l -Q -o test3.o test3.S" >>"$dosbuild_dir/build.bat"
echo "asm68 -l -Q -o test4.o test4.S" >>"$dosbuild_dir/build.bat"
dosemu -quiet -K "$dosbuild_dir" -E'build.bat'