-
Notifications
You must be signed in to change notification settings - Fork 0
/
ROTest,feb
27 lines (22 loc) · 1.01 KB
/
ROTest,feb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
| Set up our environment to point into the downloads in 'riscos-bits'.
Set TestBits$Dir <Obey$Dir>.riscos-bits
Set Run$Path <TestBits$Dir>.Tools.XML.,<Run$Path>
Run <TestBits$Dir>.!Catalogs.!Boot
echo +++ Checking binary versions
xsltproc --version
If "<Sys$ReturnCode>" <> 0 Then Error Bad return code (from xsltproc)
xmllint --version
If "<Sys$ReturnCode>" <> 0 Then Error Bad return code (from xmllint)
| Check that we can run the riscos-prminxml tool and it recognise the local catalogs
echo +++ Checking PRMinXML tool version
dir <TestBits$Dir>
/riscos-prminxml --version
| Check the tool conversion works
echo +++ Checking conversion tool
remove tables/html
/riscos-prminxml --debug -f html examples.tables/xml
If "<Sys$ReturnCode>" <> 0 Then Error Bad return code (from riscos-prminxml/pl)
IfThere tables/html Then Echo Created OK Else Error File 'tables/html' was not created properly
| Check that we can install properly
echo +++ Checking the installation of the catalogs (not currently working)
/<TestBits$Dir>.!Install