Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
af983d8a
Commit
af983d8a
authored
Aug 13, 2016
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a bat file for running all the unit tests through different versions of visual studio.
parent
8a9f700f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
76 additions
and
0 deletions
+76
-0
.hgignore
.hgignore
+2
-0
WINDOWS_build_and_run_all_unit_tests.bat
dlib/test/WINDOWS_build_and_run_all_unit_tests.bat
+74
-0
No files found.
.hgignore
View file @
af983d8a
...
...
@@ -27,3 +27,5 @@ docs/docs/python/functions.txt
syntax: glob
dlib/test/build64/*
*.svm
dlib/test/build_python
dlib/test/test_log.txt
dlib/test/WINDOWS_build_and_run_all_unit_tests.bat
0 → 100644
View file @
af983d8a
date /T > test_log.txt
time /T >> test_log.txt
rem the pings are to wait between builds so visual studio doesn't get in a funk.
echo testing python >> test_log.txt
rm -rf build_python
mkdir build_python
cd build_python
cmake -G "Visual Studio 14 2015 Win64" ../../../tools/python -DPYTHON3=ON
cmake --build . --config Release --target install || exit /B
ping 127.0.0.1 -n 5 -w 1000 > null
cd ..
echo testing vc2013 >> test_log.txt
rm -rf build_vc2013_64
mkdir build_vc2013_64
cd build_vc2013_64
cmake -G "Visual Studio 12 2013 Win64" ..
cmake --build . --config Release || exit /B
ping 127.0.0.1 -n 5 -w 1000 > null
cmake --build . --config Debug || exit /B
ping 127.0.0.1 -n 5 -w 1000 > null
cd Release
dtest --runall -d || exit /B
cd ..
cd ..
echo testing vc2012 >> test_log.txt
rm -rf build_vc2012_64
mkdir build_vc2012_64
cd build_vc2012_64
cmake -G "Visual Studio 11 2012 Win64" ..
cmake --build . --config Release || exit /B
ping 127.0.0.1 -n 5 -w 1000 > null
cmake --build . --config Debug || exit /B
ping 127.0.0.1 -n 5 -w 1000 > null
cd Release
dtest --runall -d || exit /B
cd ..
cd ..
echo testing vc2015 >> test_log.txt
rm -rf build_vc2015_64
mkdir build_vc2015_64
cd build_vc2015_64
cmake -G "Visual Studio 14 2015 Win64" ..
cmake --build . --config Release || exit /B
ping 127.0.0.1 -n 5 -w 1000 > null
cmake --build . --config Debug || exit /B
ping 127.0.0.1 -n 5 -w 1000 > null
cd Release
dtest --runall -d || exit /B
cd ..
cd ..
del null
type test_log.txt
date /T
time /T
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment