File: gettests.bat

package info (click to toggle)
mpdecimal 4.0.1-5
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,232 kB
  • sloc: ansic: 17,917; cpp: 6,508; sh: 4,236; makefile: 621; lisp: 502; python: 85; asm: 18
file content (16 lines) | stat: -rwxr-xr-x 438 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
@ECHO OFF

if not exist testdata mkdir testdata
rem copy additional tests
if not exist testdata\baseconv.decTest copy /y testdata_dist\* testdata

if exist testdata\add.decTest goto OUT

rem get official tests
if exist dectest.zip goto UNZIP
powershell -Command "wget http://speleotrove.com/decimal/dectest.zip -outfile dectest.zip"

:UNZIP
powershell -Command "Expand-Archive dectest.zip -DestinationPath testdata"

:OUT