-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.bat
37 lines (28 loc) · 1.37 KB
/
build.bat
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
28
29
30
31
32
33
34
35
36
37
cls
if exist build rmdir /S /Q build
if exist bin rmdir /S /Q bin
mkdir build
mkdir bin
cd build
cmake -G "Visual Studio 8 2005" ../ -DUSE_BOOST:BOOL=ON || exit /b
cmake --build . --config Release || exit /b
cd ../bin
echo "Integration tests running ..."
release\spline
release\spline -h
release\spline -help
for %%x in ( Neighbor Linear Quadric Unknown ) do (
release\spline --source resources\src.txt --destination resources\dest.txt --spline %%x --verbose --output custom.txt
release\spline --source resources\src.txt --destination resources\dest.txt --spline %%x --verbose
release\spline -s resources\src.txt -d resources\notfound.txt --spline %%x -v
release\spline -s resources\notfound.txt -d resources\dest.txt --spline %%x -v
release\spline -s resources\src_bad.txt -d resources\dest_bad.txt --spline %%x -v
release\spline -s resources\src_empty.txt -d resources\dest_empty.txt --spline %%x -v
release\spline -s resources\src_toofew.txt -d resources\dest_toofew.txt --spline %%x -v
release\spline -s resources\src_corrupted.txt -d resources\dest_corrupted.txt --spline %%x -v
release\spline -s resources\src_notenough.txt -d resources\dest_notenough.txt --spline %%x -v
release\spline -s resources\src_outofrange.txt -d resources\dest_outofrange.txt --spline %%x -v
release\spline -s resources\src_negative.txt -d resources\dest_negative.txt --spline %%x -v
)
echo "Success"
exit 0